[pypy-commit] pypy default: oops this assert isnt valid for intp

bdkearns noreply at buildbot.pypy.org
Tue Feb 25 06:29:23 CET 2014


Author: Brian Kearns <bdkearns at gmail.com>
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),


More information about the pypy-commit mailing list