Author: Matti Picus <[email protected]>
Branch:
Changeset: r96716:0d84a7a0a0fe
Date: 2019-05-30 07:42 +0300
http://bitbucket.org/pypy/pypy/changeset/0d84a7a0a0fe/
Log: be more tolerant of possible missing names from working_modules
diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -65,7 +65,8 @@
working_modules.add("_winreg")
# unix only modules
for name in ["crypt", "fcntl", "pwd", "termios", "_minimal_curses"]:
- working_modules.remove(name)
+ if name in working_modules:
+ working_modules.remove(name)
if name in translation_modules:
translation_modules.remove(name)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit