[Python-ideas] namespace for backported stdlib modules?

Robert Collins robertc at robertcollins.net
Tue Oct 21 03:49:03 CEST 2014


On 21 October 2014 14:40, Terry Reedy <tjreedy at udel.edu> wrote:
> On 10/20/2014 9:18 PM, Robert Collins wrote:
>>
>> I want to make the improvements in unittest (which transitively
>> includes mock and traceback and perhaps inspect ...) available for
>> folk that can't use 3.5 yet.
>>
>> We've currently got the unittest2 and mock as modules on pypi, and
>> clearly we can add another e.g. traceback2 as a way to get the
>> traceback changes out there.
>>
>> I'm wondering though if perhaps putting up a namespace package on pypi
>> for things in the stdlib - e.g. 'stdlib' (or stdlib2 or something)
>
>
> I would go with stdlib2 as less confusing, and then omit '2' from everything
> inside -- unless you intend the package to also be used on earlier versions
> of 3.x.

I intend it to be used on still-supported earlier versions of 3.x.

What do you think of the idea itself? E.g. is the cost of transition
from unittest2 -> $NAMESPACE.unittest worth doing?

-Rob

-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud


More information about the Python-ideas mailing list