Comment on draft PEP for deprecating six builtins

Raymond Hettinger python at rcn.com
Mon Apr 29 03:16:26 EDT 2002


"Martin v. Löwis" <loewis at informatik.hu-berlin.de> wrote in message
news:j4elgz9e9a.fsf at informatik.hu-berlin.de...
> "Raymond Hettinger" <python at rcn.com> writes:
>
> >     The module additions would go into Python 2.3.  All six
> > functions would be left intact and raise deprecation warnings in
> > Python 2.3 and 2.4.  The six functions would be removed in Python
> > 2.5 (having allowed two versions and a full year for code updates).
>
> I believe the phasing out of the old names should be even slower. In
> 2.3, introduce the new names; leave the old names intact unchanged. In
> 2.4 and 2.5, raise DeprecationWarnings; in 2.6, remove them.

Agreed.






More information about the Python-list mailing list