[Python-Dev] 3.x as the official release (original) (raw)
P.J. Eby pje at telecommunity.com
Thu Sep 16 00:31:02 CEST 2010
- Previous message: [Python-Dev] 3.x as the official release
- Next message: [Python-Dev] 3.x as the official release
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 11:12 PM 9/15/2010 +0200, Éric Araujo wrote:
Unless I remember wrong, the intent was not to break code that used pkgresources.require('wsgiref')
More precisely, at the time it was done, setuptools was slated for inclusion in Python 2.5, and the idea was that when modules moved from PyPI to the stdlib, they would include the metadata so that projects requiring the module on an older version of Python would not need to use Python-version-dependent dependencies.
So, for example, if a package was written on 2.4 using a requirement of wsgiref, then that code would run unchanged on 2.5 using the stdlib-supplied copy.
In practice, this didn't work out in 2.x, and it's meaningless on 3.x where nothing has migrated yet from PyPI to stdlib AFAIK. ;-)
- Previous message: [Python-Dev] 3.x as the official release
- Next message: [Python-Dev] 3.x as the official release
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]