[Python-3000] from .foo import *

Benjamin Peterson musiccomposition at gmail.com
Tue Mar 18 17:59:54 CET 2008


On Tue, Mar 18, 2008 at 10:49 AM, Aahz <aahz at pythoncraft.com> wrote:

> On Tue, Mar 18, 2008, "Martin v. L?wis" wrote:
> >
> > When I do a relative star import, I current get
> >
> > SyntaxError: 'import *' not allowed with 'from .'
> >
> > What's the reason for this restriction?
>
> It was the first step in removing the ability to use "from *" at all.  I
> don't have time right now to find the discussion, but I can do that later
> if you want.

I suppose issue 2400 should be closed, then.

>
>
> > Is it ok to remove it?
>
> As always, that's up to Guido.
> --
> Aahz (aahz at pythoncraft.com)           <*>
> http://www.pythoncraft.com/
>
> "It is easier to optimize correct code than to correct optimized code."
> --Bill Harlan
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe:
> http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20080318/34a96e38/attachment.htm 


More information about the Python-3000 mailing list