[Python-Dev] Trickery with moving urllib

Georg Brandl g.brandl at gmx.net
Sun May 11 17:31:07 CEST 2008


Brett Cannon schrieb:
> There is going to be an issue with the current proposal for keeping
> around urllib. Since the package is to be named the same thing as the
> module, to handle the new name that means urllib.__init__ will need to
> gain the Py3K warning for the new name. But that doesn't quite work as
> the package's module will be imported automatically any time the
> module within the package is used.

In this context, what's become of PEP 364? Is it still alive? Does it
cover this case?

Georg


-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list