[pypy-issue] Issue #1998: numpy.zeros(0, numpy.float32).dtype in (numpy.float32, numpy.float64) is False (pypy/pypy)
Vadim Markovtsev
issues-reply at bitbucket.org
Mon Mar 16 16:36:50 CET 2015
New issue 1998: numpy.zeros(0, numpy.float32).dtype in (numpy.float32, numpy.float64) is False
https://bitbucket.org/pypy/pypy/issue/1998/numpyzeros-0-numpyfloat32-dtype-in
Vadim Markovtsev:
```
#!python
import numpy
numpy.zeros(0, numpy.float32).dtype in (numpy.float32, numpy.float64)
```
CPython returns True, while PyPy returns False. Numerous assertions in my large scientific app fail because of that.
More information about the pypy-issue
mailing list