On Sun, May 11, 2008 at 8:31 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: > 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? >
PEP 364 was pre-2to3 (Barry and I came up with that solution at the same PyCon 2to3 was conceived). A 2to3 fixer that handles the renames does the same thing; so no, it doesn't solve the issue directly. -Brett _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com