Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[3.8] bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-23759) #23769

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

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 14, 2020

Add positional only args support to lib2to3 pgen2.

This adds 3.8's PEP-570 support to lib2to3's pgen2. lib2to3, while
being deprecated is still used by things to parse all versions of Python
code today. We need it to support parsing modern 3.8 and 3.9 constructs.

Also add tests for complex *expr and **expr's.
(cherry picked from commit 42c9f0f)

Co-authored-by: Gregory P. Smith [email protected]

https://bugs.python.org/issue36541

Automerge-Triggered-By: GH:gpshead

…-23759)

Add positional only args support to lib2to3 pgen2.

This adds 3.8's PEP-570 support to lib2to3's pgen2.  lib2to3, while
being deprecated is still used by things to parse all versions of Python
code today.  We need it to support parsing modern 3.8 and 3.9 constructs.

Also add tests for complex *expr and **expr's.
(cherry picked from commit 42c9f0f)

Co-authored-by: Gregory P. Smith <[email protected]>
@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir labels Dec 14, 2020
@miss-islington
Copy link
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@gpshead: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 06bfd03 into python:3.8 Dec 14, 2020
@miss-islington miss-islington deleted the backport-42c9f0f-3.8 branch December 14, 2020 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants