[Python-ideas] stdlib upgrades

Tarek Ziadé ziade.tarek at gmail.com
Tue Jun 1 23:45:49 CEST 2010


On Tue, Jun 1, 2010 at 8:12 PM, geremy condra <debatem1 at gmail.com> wrote:
> 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?

Making it easier for package or module maintainers to take care of
doing those smaller releases.

>
>> 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?

probably by adding a __version__ in the package's __init__.py or in
the module itself.

Regards
Tarek
-- 
Tarek Ziadé | http://ziade.org



More information about the Python-ideas mailing list