Author: Brian Kearns <[email protected]>
Branch: numpy-newbyteorder
Changeset: r68020:022135968606
Date: 2013-11-14 03:29 -0500
http://bitbucket.org/pypy/pypy/changeset/022135968606/

Log:    update immutable_fields on dtype

diff --git a/pypy/module/micronumpy/interp_dtype.py 
b/pypy/module/micronumpy/interp_dtype.py
--- a/pypy/module/micronumpy/interp_dtype.py
+++ b/pypy/module/micronumpy/interp_dtype.py
@@ -35,7 +35,9 @@
     return out
 
 class W_Dtype(W_Root):
-    _immutable_fields_ = ["itemtype?", "num", "kind", "name?", "char", 
"w_box_type", "byteorder", "float_type"]
+    _immutable_fields_ = ["itemtype?", "num", "kind", "name?", "char",
+                          "w_box_type", "byteorder", "size?", "float_type",
+                          "fields?", "fieldnames?", "shape", "subdtype", 
"base"]
 
     def __init__(self, itemtype, num, kind, name, char, w_box_type, 
byteorder=NPY_NATIVE,
                  size=1, alternate_constructors=[], aliases=[], 
float_type=None,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to