classification
Title: lib2to3 Grammar.txt doesn't have Python 3.8 grammar changes
Type: behavior Stage: resolved
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.8
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Peter Ludemann, brett.cannon, pablogsal, xtreak
Priority: normal Keywords:

Created on 2019-10-21 18:10 by Peter Ludemann, last changed 2019-10-23 19:07 by Peter Ludemann. This issue is now closed.

Messages (5)
msg355092 - (view) Author: Peter Ludemann (Peter Ludemann) Date: 2019-10-21 18:10
As far as I can tell, the lib2to3/Grammar.txt file in the Python 3.8 release is the same as that of the Python 3.7 release, which means it doesn't have the "walrus" operator and the "/" parameter syntax.
msg355096 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-10-21 18:18
See also https://bugs.python.org/issue36541 which has an open PR to support the walrus operator.
msg355109 - (view) Author: Peter Ludemann (Peter Ludemann) Date: 2019-10-21 22:39
Should I just close this? (I didn't find https://bugs.python.org/issue36541 when I searched, possibly because I used "2to3" instead of "lib2to3" in my search.)
msg355249 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2019-10-23 18:52
@Peter you can close this if issue36541 will fix your issue (i.e. both assignment expressions and positional-only parameters).
msg355253 - (view) Author: Peter Ludemann (Peter Ludemann) Date: 2019-10-23 19:07
issue36541 and its proposed PR seem to cover my needs.
History
Date User Action Args
2019-10-23 19:07:49Peter Ludemannsetstatus: open -> closed

messages: + msg355253
stage: resolved
2019-10-23 18:52:34brett.cannonsetnosy: + brett.cannon
messages: + msg355249
2019-10-21 22:39:57Peter Ludemannsetmessages: + msg355109
2019-10-21 18:18:16xtreaksetnosy: + xtreak
messages: + msg355096
2019-10-21 18:14:28xtreaksetnosy: + pablogsal
2019-10-21 18:10:43Peter Ludemanncreate