Open numpy-gitbot opened 12 years ago
Original ticket http://projects.scipy.org/numpy/ticket/2193 on 2012-07-29 by trac user skrah, assigned to unknown.
Observed with Python 3.2. Compile Python with:
./configure --with-pydebug && make
Build NumPy from the source repository and run the tests:
Python 3.2.3+ (3.2:290f04722be3, Jul 29 2012, 13:41:41) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import numpy [176157 refs] numpy.test() Running unit tests for numpy NumPy version 1.8.0.dev-Unknown NumPy is installed in /home/stefan/usr/lib/python3.2/site-packages/numpy Python version 3.2.3+ (3.2:290f04722be3, Jul 29 2012, 13:41:41) [GCC 4.4.3] nose version 1.1.2 /home/stefan/usr/lib/python3.2/site-packages/nose-1.1.2-py3.2.egg/nose/core.py:247: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/stefan/usr/lib/python3.2/site-packages/nose-1.1.2-py3.2.egg/nose/usage.txt' mode='r' encoding='ANSI_X3.4-1968'> os.path.dirname(file), 'usage.txt'), 'r').read() ........................S.................................................................................................python3.2: numpy/core/src/multiarray/common.c:161: PyArray_DTypeFromObjectHelper: Assertion ((((((PyObject*)(temp))->ob_type))->tp_flags & ((1L<<27))) != 0)' failed. Aborted (reverse-i-search)--': ./configure --prefix=/home/stefan/usr ^Cwith-pydebug && make
((((((PyObject*)(temp))->ob_type))->tp_flags & ((1L<<27))) != 0)' failed. Aborted (reverse-i-search)
Attachment added by trac user skrah on 2012-07-29: issue2193.diff
trac user skrah wrote on 2012-07-29
Here's a patch.
Original ticket http://projects.scipy.org/numpy/ticket/2193 on 2012-07-29 by trac user skrah, assigned to unknown.
Observed with Python 3.2. Compile Python with:
./configure --with-pydebug && make
Build NumPy from the source repository and run the tests:
Python 3.2.3+ (3.2:290f04722be3, Jul 29 2012, 13:41:41) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.