Lack of deprecation period for short option changes
Martin Pool
mbp at canonical.com
Wed Jan 10 01:15:26 GMT 2007
On 9 Jan 2007, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> James Westby wrote:
> > Hi,
> >
> > The recent short option changes seemed to go in without a deprecation
> > period. Was this intended? Was the SHORT_OPTIONS[] thing not meant for
> > plugins to use?
>
> These changes break bzrtools shell, for example, because
> Option.short_name is no longer callable. I think a deprecation period
> would be appropriate, unless there are overriding concerns.
OK, we can certainly set .short_name to be callable again -- I guess I
will store the value in _short_name and make the method return that.
To support SHORT_OPTIONS we might need a special object that stays in
sync with the new stuff. What did your plugin do with it, James?
--
Martin
More information about the bazaar
mailing list