[Cython] Speed up cython for enum declarations
Stefan Behnel
stefan_ml at behnel.de
Fri Dec 5 11:25:07 CET 2008
Hi,
David Cournapeau wrote:
> On Fri, Dec 5, 2008 at 6:31 PM, Stefan Behnel wrote:
>>> It also crashes on a trivial file (to make sure the empty file
>>> itself was not the issue)
>> Could you send in the error output you get?
>
> cython crashes, with a segfault, so I don't get anything really
> useful. I can give you the backtrace, but I am not sure it is that
> useful either:
> [...]
Is that from a fresh Cython install? I.e. do you use an up-to-date build of
the compiled modules in Cython? I just want to make sure we are not hunting
a bug that's already fixed.
You can also install Cython uncompiled (i.e. pure Python) by passing the
"--no-cython-compile" option to setup.py. That will prevent any C level
crashes of the compiler itself. If you still want good performance,
deleting individual C modules (such as the crashing
Cython/Compiler/Parsing.so in your case) will make Cython fall back to the
normal Python modules that are installed in parallel.
Stefan
More information about the Cython-dev
mailing list