cpython/Lib/lib2to3/tests
Miss Islington (bot) 06bfd033e8
bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-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 42c9f0fd0a)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2020-12-14 09:29:57 -08:00
..
data bpo-11594: Ensure line-endings are respected when using 2to3 (GH-6483) 2018-04-17 14:34:14 -07:00
__init__.py
__main__.py
pytree_idempotency.py
support.py closes bpo-30117: fix lib2to3 ParserIdempotency test (GH-1242) 2018-01-29 23:13:03 -08:00
test_all_fixers.py
test_fixers.py bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780) 2020-01-07 09:52:06 -08:00
test_main.py
test_parser.py bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-23759) 2020-12-14 09:29:57 -08:00
test_pytree.py
test_refactor.py bpo-34108: Fix double carriage return in 2to3 on Windows (#8271) 2018-07-13 11:26:03 -04:00
test_util.py