[Python-3000] from .foo import *
Benjamin Peterson
musiccomposition at gmail.com
Tue Mar 18 18:47:47 CET 2008
On Tue, Mar 18, 2008 at 12:21 PM, Neal Norwitz <nnorwitz at gmail.com> wrote:
> On Tue, Mar 18, 2008 at 11:59 AM, Benjamin Peterson
> <musiccomposition at gmail.com> wrote:
> >
> >
> >
> > 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.
>
> The reason that 2400 was opened was to remove the restriction. :-) If
> I worded it wrong, feel free to add a comment to it. The point of
> adding the issue was that the SyntaxError should not be generated and
> the import should do the right thing.
Okay. Sorry, I misread that.
>
>
> n
>
> n
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20080318/4c4e015a/attachment.htm
More information about the Python-3000
mailing list