mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-104780: Remove 2to3 program and lib2to3 module (#104781)
* Remove the Tools/scripts/2to3 script. * Remove the Lib/test/test_lib2to3/ directory. * Doc/tools/extensions/pyspecific.py: remove the "2to3fixer" object type. * Makefile and PC/layout/main.py no longer compile lib2to3 grammar files. * Update Makefile for 2to3 removal.
This commit is contained in:
parent
ddb1485953
commit
ae00b810d1
135 changed files with 26 additions and 21000 deletions
|
@ -8,12 +8,12 @@ FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@"
|
|||
|
||||
"${FWK}/bin/python@PYVER@" -E -s -Wi \
|
||||
"${FWK}/lib/python${PYVER}/compileall.py" -q -j0 \
|
||||
-f -x 'bad_coding|badsyntax|site-packages|test/test_lib2to3/data' \
|
||||
-f -x 'bad_coding|badsyntax|site-packages' \
|
||||
"${FWK}/lib/python${PYVER}"
|
||||
|
||||
"${FWK}/bin/python@PYVER@" -E -s -Wi -O \
|
||||
"${FWK}/lib/python${PYVER}/compileall.py" -q -j0 \
|
||||
-f -x 'bad_coding|badsyntax|site-packages|test/test_lib2to3/data' \
|
||||
-f -x 'bad_coding|badsyntax|site-packages' \
|
||||
"${FWK}/lib/python${PYVER}"
|
||||
|
||||
"${FWK}/bin/python@PYVER@" -E -s -Wi \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue