[ python-Bugs-1190012 ] ``from sys import stdin, `` doesn't raise a SyntaxError

SourceForge.net noreply at sourceforge.net
Mon Jul 11 05:31:29 CEST 2005


Bugs item #1190012, was opened at 2005-04-25 23:11
Message generated for change (Comment added) made by bcannon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1190012&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: AST
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Brett Cannon (bcannon)
Assigned to: Nobody/Anonymous (nobody)
Summary: ``from sys import stdin,`` doesn't raise a SyntaxError

Initial Comment:
Python 2.4 raises a SyntaxError: "trailing comma not
allowed without surrounding parentheses".

Detected by test_compile.

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

>Comment By: Brett Cannon (bcannon)
Date: 2005-07-10 20:31

Message:
Logged In: YES 
user_id=357491

Patch #1194895 was accepted and checked in; closing as fixed.

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

Comment By: logistix (logistix)
Date: 2005-05-04 16:14

Message:
Logged In: YES 
user_id=699438

Patch 1194895 fixes this.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1190012&group_id=5470


More information about the Python-bugs-list mailing list