[Python-Dev] New thread death in test_bsddb3 (original) (raw)

Mark Hammond mhammond@skippinet.com.au
Wed, 23 Apr 2003 09:05:26 +1000


testbsddb3.py fails quickly today under a debug build, with a thread state error, on Win2K, every time. Linux?

Actually, some guidance would be nice here.

Is this code (_bsddb.c) ever expected to again build under pre-trunk versions of Python, or can I remove the old thread-state management code?

ie, should my changes be or the style:

#if defined(NEW_PYGILSTATE_API_EXISTS) // new 1 line of code #else // existing many lines of code #endif

Or just stick with the new code?

Nothing-is-finished-until-there-is-nothing-left-to-remove ly,

Mark.