- Update setuptools to 40.8.0 - Update pip to 19.0.3 - Refreshed patches - Removed 4 patches (2 of them was included in 3.7.3 and other two are included in this release) Makefile python3: - Move PKG_MAINTAINER above PKG_LICENSE Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
15 lines
487 B
Diff
15 lines
487 B
Diff
--- a/Lib/lib2to3/refactor.py
|
|
+++ b/Lib/lib2to3/refactor.py
|
|
@@ -37,6 +37,12 @@ def get_all_fix_names(fixer_pkg, remove_
|
|
if remove_prefix:
|
|
name = name[4:]
|
|
fix_names.append(name[:-3])
|
|
+ if name.startswith("fix_") and name.endswith(".pyc"):
|
|
+ if remove_prefix:
|
|
+ name = name[4:]
|
|
+ name = name[:-4]
|
|
+ if name not in fix_names:
|
|
+ fix_names.append(name)
|
|
return fix_names
|
|
|
|
|