mirror of
https://github.com/novatiq/packages.git
synced 2026-04-26 13:54:41 +01:00
3.6.9 is the latest security fix release of Python 3.6. - Fixes: CVE-2018-20852, CVE-2019-9948, CVE-2019-9740, CVE-2019-5010 - Refreshed patches - Removed a few backports patches Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
16 lines
487 B
Diff
16 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
|
|
|
|
|