[Python-Dev] Get the standard library to declare the versions it provides!
chris at simplistix.co.uk
Thu Apr 2 01:48:13 CEST 2009
Fred Drake wrote:
> Even simple cases present issues with regard to this. For example, I
> work on a project that relies on the uuid module, so we declare a
> dependency on Ka-Ping Ye's uuid module (since we're using Python 2.4).
> How should we write that in a version-agnostic way if we want to use the
> standard library version of that module with newer Pythons?
Well, that could be done be getting standard library modules to:
- declare what version they are
- be overridable why installed packages
That way, the fact that the standard library's development moves at the
speed of frozen tar wouldn't stop packages in it being developed and
released seperately for people who want to use newer versions of them
and aren't in a situation where they need "batteries included"...
Simplistix - Content Management, Zope & Python Consulting
More information about the Python-Dev