Stefan Behnel <sco...@users.sourceforge.net> added the comment:

Looks like this is one of those bugs that run away when you look too close...

I can get it to crash reliably for me with the latest py3k branch (and all 
Python 3.x release versions) when I run the test suite completely, so here's a 
new recipe. The intention is to keep CPython from importing Cython built 
modules to make sure it's not related to the C code that Cython generates. I 
thought it was when I hit this problem ages ago (1 or 2 years?), but I can now 
assure you, it's not. To reproduce, run:

    python3.2 runtests.py --no-cpp --no-pyregr --no-doctest \
          --no-fork --cython-only --no-refnanny -vv 'run\.'

The "--cython-only" switch makes sure the modules are not run through the C 
compiler, so no binary modules are built and only the pure Python code of the 
Cython compiler runs here. The output is a little badly formatted, but it 
basically prints the name of the modules it compiles and crashes after a while 
(also without the patch).

You don't have to do anything for cleanup, the test runner does that.

Writing a shorter code snippet is really not easy as there seem to be various 
things involved here, apparently including exception handling, recursion and 
generators.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7173>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to