Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from sys import stdin, doesn't raise a SyntaxError #41901

Closed
brettcannon opened this issue Apr 26, 2005 · 3 comments
Closed

from sys import stdin, doesn't raise a SyntaxError #41901

brettcannon opened this issue Apr 26, 2005 · 3 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@brettcannon
Copy link
Member

BPO 1190012
Nosy @brettcannon

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2005-07-11.03:31:29.000>
created_at = <Date 2005-04-26.06:11:36.000>
labels = ['interpreter-core']
title = "``from sys import stdin,`` doesn't raise a SyntaxError"
updated_at = <Date 2005-07-11.03:31:29.000>
user = 'https://github.com/brettcannon'

bugs.python.org fields:

activity = <Date 2005-07-11.03:31:29.000>
actor = 'brett.cannon'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2005-04-26.06:11:36.000>
creator = 'brett.cannon'
dependencies = []
files = []
hgrepos = []
issue_num = 1190012
keywords = []
message_count = 3.0
messages = ['25130', '25131', '25132']
nosy_count = 2.0
nosy_names = ['brett.cannon', 'logistix']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1190012'
versions = []

@brettcannon
Copy link
Member Author

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

Detected by test_compile.

@brettcannon brettcannon added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Apr 26, 2005
@logistix
Copy link
Mannequin

logistix mannequin commented May 4, 2005

Logged In: YES
user_id=699438

Patch 1194895 fixes this.

@brettcannon
Copy link
Member Author

Logged In: YES
user_id=357491

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

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

No branches or pull requests

1 participant