On 03/10/2010 01:55 AM, Pauli Virtanen wrote: >> more fun : >> [co...@jarrett tests]$ pwd >> /home/cohen/sources/python/numpy/numpy/core/tests >> [co...@jarrett tests]$ python -c 'import test_ufunc' >> python: Modules/gcmodule.c:277: visit_decref: Assertion `gc->gc.gc_refs >> != 0' failed. >> Aborted (core dumped) >> > What happens if you only import the umath_tests module (or something, it's a > .so under numpy.core)? > [co...@jarrett core]$ export PYTHONPATH=/home/cohen/.local/lib/python2.6/site-packages/numpy/core:$PYTHONPATH [co...@jarrett core]$ python Python 2.6.2 (r262:71600, Jan 25 2010, 18:46:45) [GCC 4.4.2 20091222 (Red Hat 4.4.2-20)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import umath_tests >>> python: Modules/gcmodule.c:277: visit_decref: Assertion `gc->gc.gc_refs != 0' failed. Aborted (core dumped)
so this import also trigger the crash at exit... > Just importing test_ufunc.py probably doesn't run a lot of extension code. > Since you don't get crashes only by importing numpy, I really don't see many > alternatives any more... > > Thanks, > Pauli > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion