[Python-Dev] Choosing an official stance towards module deprecation in Python 3

Raymond Hettinger raymond.hettinger at gmail.com
Sat Sep 12 00:39:20 CEST 2015


> On Sep 11, 2015, at 1:57 PM, Brett Cannon <bcannon at gmail.com> wrote:
> 
> In order to facilitate writing code that works in both Python 2 & 3
> simultaneously, any module that exists in both Python 3.5 and
> Python 2.7 will not be removed from the standard library until
> Python 2.7 is no longer supported as specified by PEP 373. Exempted
> from this rule is any module in the idlelib package as well as any
> exceptions granted by the Python development team.

I think that reads nicely.  It makes a clear contract with developers
letting them know that we will avoid making their life unnecessarily difficult.


Raymond




More information about the Python-Dev mailing list