Author: Maciej Fijalkowski <[email protected]>
Branch: refactor-signature
Changeset: r50602:06599e469d83
Date: 2011-12-16 12:41 +0200
http://bitbucket.org/pypy/pypy/changeset/06599e469d83/
Log: mark this as immutable as well
diff --git a/pypy/module/micronumpy/interp_ufuncs.py
b/pypy/module/micronumpy/interp_ufuncs.py
--- a/pypy/module/micronumpy/interp_ufuncs.py
+++ b/pypy/module/micronumpy/interp_ufuncs.py
@@ -16,7 +16,7 @@
class W_Ufunc(Wrappable):
_attrs_ = ["name", "promote_to_float", "promote_bools", "identity"]
- _immutable_fields_ = ["promote_to_float", "promote_bools"]
+ _immutable_fields_ = ["promote_to_float", "promote_bools", "name"]
def __init__(self, name, promote_to_float, promote_bools, identity):
self.name = name
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit