[pypy-svn] rev 2390 - pypy/trunk/src/pypy/interpreter
pmaupin at codespeak.net
pmaupin at codespeak.net
Tue Dec 16 16:55:04 CET 2003
Author: pmaupin
Date: Tue Dec 16 16:55:03 2003
New Revision: 2390
Modified:
pypy/trunk/src/pypy/interpreter/extmodule.py
Log:
Stop leaking __module__ from interpreter to app level
Modified: pypy/trunk/src/pypy/interpreter/extmodule.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/extmodule.py (original)
+++ pypy/trunk/src/pypy/interpreter/extmodule.py Tue Dec 16 16:55:03 2003
@@ -30,7 +30,7 @@
continue # ignore CPython functions
# ignore tricky class-attrs we can't send from interp to app-level
- if name in ('__metaclass__',):
+ if name in ('__metaclass__','__module__',):
continue
space.call_method(self.w_dict, 'setdefault',
space.wrap(name), space.wrap(value))
More information about the Pypy-commit
mailing list