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

lib2to3 Grammar file is no longer a Python 3 superset #63710

Closed
ncoghlan opened this issue Nov 6, 2013 · 5 comments
Closed

lib2to3 Grammar file is no longer a Python 3 superset #63710

ncoghlan opened this issue Nov 6, 2013 · 5 comments
Assignees
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@ncoghlan
Copy link
Contributor

ncoghlan commented Nov 6, 2013

BPO 19511
Nosy @gpshead, @ncoghlan, @ezio-melotti, @meadori

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 = 'https://github.com/gpshead'
closed_at = <Date 2015-12-28.22:10:16.436>
created_at = <Date 2013-11-06.12:56:51.292>
labels = ['type-bug', 'library', 'docs']
title = 'lib2to3 Grammar file is no longer a Python 3 superset'
updated_at = <Date 2015-12-28.22:10:16.435>
user = 'https://github.com/ncoghlan'

bugs.python.org fields:

activity = <Date 2015-12-28.22:10:16.435>
actor = 'ezio.melotti'
assignee = 'gregory.p.smith'
closed = True
closed_date = <Date 2015-12-28.22:10:16.436>
closer = 'ezio.melotti'
components = ['Library (Lib)', 'Devguide']
creation = <Date 2013-11-06.12:56:51.292>
creator = 'ncoghlan'
dependencies = []
files = []
hgrepos = []
issue_num = 19511
keywords = []
message_count = 5.0
messages = ['202265', '228396', '239860', '240125', '257135']
nosy_count = 5.0
nosy_names = ['gregory.p.smith', 'ncoghlan', 'ezio.melotti', 'meador.inge', 'BreamoreBoy']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue19511'
versions = ['Python 3.4', 'Python 3.5']

@ncoghlan
Copy link
Contributor Author

ncoghlan commented Nov 6, 2013

In writing some new fixers for bpo-17823, I noticed the 2/3 bridge grammar in lib2to3 was never updated to handle "yield from".

This item is also missing from the checklist in the devguide:

http://docs.python.org/devguide/grammar.html

@ncoghlan ncoghlan added stdlib Python modules in the Lib dir docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error labels Nov 6, 2013
@BreamoreBoy
Copy link
Mannequin

BreamoreBoy mannequin commented Oct 3, 2014

Anybody volunteering but please don't look at me :)

@gpshead
Copy link
Member

gpshead commented Apr 1, 2015

This is blocking Python auto formatters from working properly on Python 3 syntax code. For example: google/yapf#61

@gpshead gpshead self-assigned this Apr 1, 2015
@gpshead
Copy link
Member

gpshead commented Apr 5, 2015

This was fixed in 3.4.1:

https://hg.python.org/cpython/log/094615256a54/Lib/lib2to3/Grammar.txt

i'm leaving this open to update the devguide.

@ezio-melotti
Copy link
Member

I created bpo-25967 to keep track of the devguide issue, so I'm going to close this.

@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
docs Documentation in the Doc dir stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants