Stijn> any hints what might cause this (or how i can figure it out). i
    Stijn> have a coredump, but have no clue what to look for.

I can reproduce it on my Mac.  The croak happens while it is attempting to
raise the exception about a bad file descriptor.  Unfortunately, in
PyErr_Restore the call to PyThreadState_GET() returns NULL which means that
_PyThreadState_Current is NULL.  I see no differences between pystate.[ch]
in the 2.5 and 2.6 branches.  There must be something different about the
way PyThreadState_Swap or PyThreadState_DeleteCurrent are used.  Those are
the only two routines which appear to set it.  

Did this not happen with 2.5.2?

-- 
Skip Montanaro - s...@pobox.com - http://smontanaro.dyndns.org/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to