Author: Manuel Jacob
Branch: remove-dict-smm
Changeset: r64228:6db232eb496a
Date: 2013-05-16 15:10 +0200
http://bitbucket.org/pypy/pypy/changeset/6db232eb496a/
Log: The name of _negator must be unique for each generated function.
diff --git a/pypy/objspace/std/dictmultiobject.py
b/pypy/objspace/std/dictmultiobject.py
--- a/pypy/objspace/std/dictmultiobject.py
+++ b/pypy/objspace/std/dictmultiobject.py
@@ -383,6 +383,7 @@
return space.w_True
else:
return space.w_False
+ _negator.func_name = 'negate-%s' % f
return _negator
W_DictMultiObject.typedef = StdTypeDef("dict",
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit