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

SyntaxError b0rked grammar #59554

Closed
ZtatikLight mannequin opened this issue Jul 14, 2012 · 2 comments
Closed

SyntaxError b0rked grammar #59554

ZtatikLight mannequin opened this issue Jul 14, 2012 · 2 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@ZtatikLight
Copy link
Mannequin

ZtatikLight mannequin commented Jul 14, 2012

BPO 15349
Nosy @serwy

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 2012-07-15.15:34:40.125>
created_at = <Date 2012-07-14.09:41:03.863>
labels = ['interpreter-core']
title = 'SyntaxError b0rked grammar'
updated_at = <Date 2012-07-15.15:34:40.097>
user = 'https://bugs.python.org/ZtatikLight'

bugs.python.org fields:

activity = <Date 2012-07-15.15:34:40.097>
actor = 'roger.serwy'
assignee = 'none'
closed = True
closed_date = <Date 2012-07-15.15:34:40.125>
closer = 'roger.serwy'
components = ['Interpreter Core']
creation = <Date 2012-07-14.09:41:03.863>
creator = 'Ztatik.Light'
dependencies = []
files = []
hgrepos = []
issue_num = 15349
keywords = []
message_count = 2.0
messages = ['165437', '165533']
nosy_count = 2.0
nosy_names = ['roger.serwy', 'Ztatik.Light']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue15349'
versions = ['Python 2.6']

@ZtatikLight
Copy link
Mannequin Author

ZtatikLight mannequin commented Jul 14, 2012

SyntaxError: import * is not allowed in function '__init__' because it is contains a nested function with free variables

^ .... /s/"because it is contains"/"because it contains"

@ZtatikLight ZtatikLight mannequin added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Jul 14, 2012
@serwy
Copy link
Mannequin

serwy mannequin commented Jul 15, 2012

Thank you for the bug report, Ztatik.

Since 2.6 is now in security-fix-only mode, this issue will not be fixed. See http://www.python.org/getit/releases/2.6.8/

This grammar issue was fixed in 2.7 with revision 386922b629c3, but was not applied to the 2.6 series at the time.

If you find any more errors, please report them.

@serwy serwy mannequin closed this as completed Jul 15, 2012
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 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

0 participants