[pypy-commit] pypy refactor-signature: mark this as immutable as well

fijal noreply at buildbot.pypy.org
Fri Dec 16 11:43:26 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
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


More information about the pypy-commit mailing list