[pypy-svn] r26505 - pypy/dist/pypy/interpreter
pedronis at codespeak.net
pedronis at codespeak.net
Fri Apr 28 11:29:16 CEST 2006
Author: pedronis
Date: Fri Apr 28 11:29:13 2006
New Revision: 26505
Modified:
pypy/dist/pypy/interpreter/mixedmodule.py
Log:
heavy-handed code to assure that builtin modules functions have the name matching their exposed name.
Modified: pypy/dist/pypy/interpreter/mixedmodule.py
==============================================================================
--- pypy/dist/pypy/interpreter/mixedmodule.py (original)
+++ pypy/dist/pypy/interpreter/mixedmodule.py Fri Apr 28 11:29:13 2006
@@ -52,6 +52,7 @@
bltin = BuiltinFunction(func)
bltin.w_module = self.w_name
func._builtinversion_ = bltin
+ bltin.name = name
w_value = space.wrap(bltin)
space.setitem(self.w_dict, w_name, w_value)
return w_value
More information about the Pypy-commit
mailing list