[Python-3000] from .foo import *
Nick Coghlan
ncoghlan at gmail.com
Wed Mar 19 10:57:28 CET 2008
Aahz wrote:
>
> It was part of PEP 328 (Relative Imports) [*] -- and actually, taking a
> quick look at the PEP, it appears that the links within it point to some
> discussion about the "import *" issue.
I found a question from Jack Jansen about it in one of the threads, but
no real answer that I saw.
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.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-3000
mailing list