[Python-3000] from .foo import *
Guido van Rossum
guido at python.org
Wed Mar 19 20:08:06 CET 2008
On Wed, Mar 19, 2008 at 2:57 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> However, PEP 3100 (the general Py3k TO-DO list) includes a line item to
> get rid of "from ... import *" at function level because of the merry
> hell it plays with the local variable optimisations. It's possible the
> module level version also got clobbered when this was implemented.
That sounds like completely separate from relative import though, and
unrelated. I think outside functions "from .foo import *" should be
allowed.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000
mailing list