Author: Brian Kearns <[email protected]>
Branch:
Changeset: r69404:ed7ff32d337d
Date: 2014-02-25 00:28 -0500
http://bitbucket.org/pypy/pypy/changeset/ed7ff32d337d/
Log: oops this assert isnt valid for intp
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
@@ -855,7 +855,6 @@
# higher numbers
for dtype in reversed(self.builtin_dtypes):
dtype.fields = None # mark these as builtin
- assert dtype.num not in self.dtypes_by_num
self.dtypes_by_num[dtype.num] = dtype
self.dtypes_by_name[dtype.get_name()] = dtype
for can_name in [dtype.kind + str(dtype.elsize),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit