python3: enable lib2to3 to also search and fix .pyc files.
authorNj Hsiong <redacted>
Wed, 9 Jan 2019 11:43:22 +0000 (19:43 +0800)
committerNj Hsiong <redacted>
Wed, 9 Jan 2019 14:06:52 +0000 (22:06 +0800)
commitc98b12d9a920ede376d1eaef0da0c0da9d26d6b3
treedb9291213bf0fb6734a0e45033cfa094c87a19dd
parent8cfbcfd7570a023dfac81f6678256dd8968b5c67
python3: enable lib2to3 to also search and fix .pyc files.

python3's lib2to3 would fail in silence if python3 and its packages are installed as compiled .pyc files. Root cause is, in Lib/lib2to3/refactor.py, the function get_all_fix_names only searches '.py' fix names.

Signed-off-by: Nj Hsiong <redacted>
lang/python/python3/Makefile
lang/python/python3/patches/017_lib2to3_fix_pyc_search.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT