--- Begin Message ---
FWIW -- asked upstream
https://github.com/cython/cython/issues/1589
before taking any action
On Thu, 12 Jan 2017, Gilles Filippini wrote:
> On Thu, 12 Jan 2017 20:30:37 +0100 Gilles Filippini <p...@debian.org> wrote:
> > Relevant part is:
> > FAIL: numpy_test ()
> > Doctest: numpy_test
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
> > raise self.failureException(self.format_failure(new.getvalue()))
> > AssertionError: Failed doctest test for numpy_test
> > File
> > "/<<PKGBUILDDIR>>/build/work-dir/3/run/c/numpy_test/numpy_test.so", line
> > 944, in numpy_test
> > ----------------------------------------------------------------------
> > File "/<<PKGBUILDDIR>>/build/work-dir/3/run/c/numpy_test/numpy_test.so",
> > line 1139, in numpy_test
> > Failed example:
> > test_point_record()
> > Expected:
> > array([(0.0, 0.0), (1.0, -1.0), (2.0, -2.0)],
> > dtype=[('x', '!f8'), ('y', '!f8')])
> > Got:
> > array([( 0., 0.), ( 1., -1.), ( 2., -2.)],
> > dtype=[('x', '!f8'), ('y', '!f8')])
> > Should this be ignored?
> Python + numpy has the same behavior:
> $ python3
> Python 3.5.2+ (default, Dec 13 2016, 14:16:35)
> [GCC 6.2.1 20161124] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import numpy as np
> >>> np.array([(0, 0), (1, -1), (2, -2)], [('x', np.float64), ('y',
> >>> np.float64)])
> array([( 0., 0.), ( 1., -1.), ( 2., -2.)],
> dtype=[('x', '<f8'), ('y', '<f8')])
> $ python
> Python 2.7.13 (default, Dec 18 2016, 20:19:42)
> [GCC 6.2.1 20161215] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import numpy as np
> >>> np.array([(0, 0), (1, -1), (2, -2)], [('x', np.float64), ('y',
> >>> np.float64)])
> array([( 0., 0.), ( 1., -1.), ( 2., -2.)],
> dtype=[('x', '<f8'), ('y', '<f8')])
> _g.
> _______________________________________________
> Python-apps-team mailing list
> python-apps-t...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-apps-team
--
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
--- End Message ---