[Python-Dev] Adding PEP consistent aliases for names that don't currently conform

Brett Cannon brett at python.org
Wed Mar 4 02:37:11 CET 2009


On Tue, Mar 3, 2009 at 17:30, Eric Smith <eric at trueblade.com> wrote:

> We need a really long lead time before we can remove these. I
>> recommend starting with a *silent* deprecation in 3.1 combined with a
>> PR offensive for the new names.
>>
>
> I think the old names basically have to live forever in some way, due to
> loading old pickles. Remember the problems we had when we tried to
> restructure the library in 2.6?
>
>
Forever is a long time. =) If we keep the PendingDeprecationWarning for a
long time and really get the word out of the renames then people can migrate
their pickles over time. The real problem with the 2.6 reorg was that people
didn't want to have zero lead time to update their pickles and they way the
transition was being handled. In this case the old names and simply subclass
the new names and have no issues with old code.

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090303/54af8ff4/attachment.htm>


More information about the Python-Dev mailing list