[pypy-svn] r35911 - pypy/dist/pypy/objspace/cpy

mwh at codespeak.net mwh at codespeak.net
Wed Dec 20 09:50:56 CET 2006


Author: mwh
Date: Wed Dec 20 09:50:54 2006
New Revision: 35911

Modified:
   pypy/dist/pypy/objspace/cpy/objspace.py
Log:
add the track_builtin_shadowing keyword argument to the CPyObjSpace's
newdict(), fixes a bunch of tests that failed overnight.


Modified: pypy/dist/pypy/objspace/cpy/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/cpy/objspace.py	(original)
+++ pypy/dist/pypy/objspace/cpy/objspace.py	Wed Dec 20 09:50:54 2006
@@ -199,7 +199,7 @@
     def newfloat(self, floatval):
         return PyFloat_FromDouble(floatval)
 
-    def newdict(self):
+    def newdict(self, track_builtin_shadowing=False):
         return PyDict_New()
 
     def newlist(self, items_w):



More information about the Pypy-commit mailing list