[ python-Bugs-1519018 ] import_as_name and dotted_as_name fail to validate syntax
SourceForge.net
noreply at sourceforge.net
Sat Jul 8 07:31:53 CEST 2006
Bugs item #1519018, was opened at 2006-07-07 15:33
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1519018&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Scott Dial (geekmug)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: import_as_name and dotted_as_name fail to validate syntax
Initial Comment:
The following import statements are invalidly accepted
by the current HEAD:
"import sys foo bar"
"from sys import path foo bar"
The current trunk excepts this input and merely ignores
"foo" failing to validate that the string is "as". I am
not familiar enough with Python's syntax checking to
locate it and submit a patch.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-07-07 22:31
Message:
Logged In: YES
user_id=33168
Committed revision 50489.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1519018&group_id=5470
More information about the Python-bugs-list
mailing list