New submission from Antonio Cuni <[email protected]>: Python 2.7.3 (default, Aug 1 2012, 05:14:39) >>> import numpy >>> numpy.array([1.0, 2.0, None], dtype='d') array([ 1., 2., nan])
Python 2.7.3 (64f878febd11, Jan 26 2013, 02:00:18) [PyPy 2.0.0-beta1 with GCC 4.6.3] on linux2 >>>> numpypy.array([1.0, 2.0, None], dtype='d') Traceback (most recent call last): File "<console>", line 1, in <module> TypeError: expected float, got NoneType object ---------- messages: 5280 nosy: pypy-issue priority: bug status: unread title: cannot pass None values if dtype=='d' ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1391> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
