Anyone mind if I do this?

--- Include/object.h    (revision 57412)
+++ Include/object.h    (working copy)
@@ -148,7 +148,7 @@
         Py_ssize_t itemsize;  /* This is Py_ssize_t so it can be
                                  pointed to by strides in simple case.*/
         int readonly;
-        int ndim;
+        unsigned int ndim;
         char *format;
         Py_ssize_t *shape;
         Py_ssize_t *strides;


PEP 3118 and all reality as I know it says ndim must be >= 0 so it
makes sense to me.
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to