possible bug in Pyrex
Péter Szabó <[email protected]> Sun, 14 Feb 2010 21:26:06 +0100
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I think I've found a bug in Pyrex (or some other part of my Python
installation) which causes the Python 2.6 interpreter segfault (or
abort) in some cases. It is 100% reproducible on my machine. See
http://code.google.com/p/pts-mini-gpl/source/browse/trunk/excbug/README.txt
for instructions how to reproduce it. (You can download the rest of
the files by clicking on the ``excbug'' link.) The bug doesn't seem to
happen with Cython.
FYI here is the code in my .pyx file:
def iowrap(f):
try:
return f()
except IOError, e:
return e
All other code is pure Python. I'm using the socket module and
Python2.6's ssl module.
Can you reproduce the bug in your local machine?
Thanks,
P=E9ter