[Python-ideas] stdlib upgrades
geremy condra
debatem1 at gmail.com
Tue Jun 1 20:12:00 CEST 2010
On Tue, Jun 1, 2010 at 1:54 AM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
> Hello,
>
> That's not a new idea, but I'd like to throw it here again.
>
> Some modules/packages in the stdlib are pretty isolated, which means
> that they could be upgraded with no
> harm, independently from the rest. For example the unittest package,
> or the email package.
What advantage do you see in this relative to, say, breaking off the
stdlib or introducing a sumo addon?
> Here's an idea:
>
> 1 - add a version number in each package or module of the stdlib that
> is potentially upgradable
As in, append it to the module name, or add an interface to modules
to query their version?
> 2 - create standalone releases of these modules/packages at PyPI, in a
> restricted area 'stdlib upgrades'
> that can be used only by core devs to upload new versions. Each
> release lists the precise
> Python versions it's compatible with.
>
> 3 - once distutils2 is back in the stdlib, provide a command line
> interface to list upgradable packages, and make
> it possible to upgrade them
+1 on this for all packages, not just stdlib
> 4 - an upgraded package lands in a new specific site-packages
> directory and is loaded *before* the one in Lib
>
> Regards
> Tarek
Geremy Condra
More information about the Python-ideas
mailing list