At 11:12 PM 9/15/2010 +0200, Éric Araujo wrote:
Unless I remember wrong, the intent was not to break code that used pkg_resources.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. ;-)

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to