Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r87273:ffe795342bf8
Date: 2016-09-21 15:57 +0100
http://bitbucket.org/pypy/pypy/changeset/ffe795342bf8/
Log: Renaming a built-in module does not change the name of the
corresponding usemodules.* option
diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -24,7 +24,7 @@
default_modules = essential_modules.copy()
default_modules.update([
"_codecs", "atexit", "gc", "_weakref", "marshal", "errno", "imp",
- "itertools", "math", "cmath", "_sre", "_pickle_support", "_operator",
+ "itertools", "math", "cmath", "_sre", "_pickle_support", "operator",
"parser", "symbol", "token", "_ast", "_random", "__pypy__",
"_string", "_testing", "time"
])
diff --git a/pypy/tool/pytest/apptest.py b/pypy/tool/pytest/apptest.py
--- a/pypy/tool/pytest/apptest.py
+++ b/pypy/tool/pytest/apptest.py
@@ -26,6 +26,7 @@
exceptions='builtins',
struct='_struct',
thread='_thread',
+ operator='_operator',
)
class AppError(Exception):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit