[Python-ideas] namespace for backported stdlib modules?

Barry Warsaw barry at python.org
Tue Oct 21 17:39:13 CEST 2014


On Oct 21, 2014, at 11:34 AM, Georg Brandl wrote:

>> try:
>>     from stdlib import unitest
>> except ImportError:
>>     import unittest
>
>Seeing this as a newcomer, I'd be wondering which one is the one that's
>actually coming from the standard library.
>
>Please don't commandeer "stdlib" for something that's *not* the stdlib.

Agreed.  But 'backports' would be pretty obvious I think.

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141021/77a3ac1c/attachment.sig>


More information about the Python-ideas mailing list