[ python-Bugs-1057835 ] compiler.transformer, "from module import *"
SourceForge.net
noreply at sourceforge.net
Mon Nov 1 12:41:55 CET 2004
Bugs item #1057835, was opened at 2004-10-31 20:20
Message generated for change (Comment added) made by mwh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057835&group_id=5470
Category: Parser/Compiler
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Felix Wiemann (felixwiemann)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler.transformer, "from module import *"
Initial Comment:
import compiler.transformer
compiler.transformer.parse('from module import
*').getChildNodes()[0].getChildNodes()[0].lineno
... is 1 in Python 2.3 but None in Python 2.4b1.
lineno is 1 in Python 2.4 too when passing 'from module
import something' instead of 'from module import *'.
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2004-11-01 11:41
Message:
Logged In: YES
user_id=6656
I would guess that this is the result of the relatively recent
changes to allow multiple line imports, but I don't really have time
to play with this right now. Do you have time to work on a fix?
If it does prove to be the multiple line import thing, you might
want to pester Dima Dorfman -- I think that was his patch...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057835&group_id=5470
More information about the Python-bugs-list
mailing list