[ python-Bugs-1519018 ] import_as_name and dotted_as_name fail to validate syntax

SourceForge.net noreply at sourceforge.net
Sat Jul 8 00:33:15 CEST 2006


Bugs item #1519018, was opened at 2006-07-07 18:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Submitted By: Scott Dial (geekmug)
Assigned to: Nobody/Anonymous (nobody)
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.


----------------------------------------------------------------------

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