[mythtv] Notice: Python binding rewrite
Alan Young
ayoung at teleport.com
Fri Jan 1 20:47:04 UTC 2010
Michael T. Dean wrote:
> On 01/01/2010 02:56 AM, Jean-Yves Avenard wrote:
>> 2010/1/1 Raymond Wagner:
>>
>> Keeping backward compatibily through the use of wrappers to the new
>> APIs is a great solution IMHO.
>
> It also means a ton of extra code to be maintained and debugged and
> tested with every future change within the Python bindings.
Both points are good points. Perhaps a policy could be adopted to similar to
what other projects do. That is to introduce new APIs in release X, support
both APIs in releases X and Y with the old APIs marked as depreciated. Then
in release Z remove the depreciated APIs. That gives time for people to try
the new APIs, change their code to new APIs and then have their code ready and
in place when they upgrade to the release that removes the old code.
Alan
More information about the mythtv-dev
mailing list