Visual C++ 5 Debug mode causes interpreter crash.

Tom Fenn tom at spirit.gcrc.upenn.edu
Fri May 21 15:12:50 EDT 1999


Hello,

I'm writing a python extension for windows NT.  When I run it I get:

Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import finniganraw
Entering initfinniganraw.
Fatal Python error: PyThreadState_Get: no current thread

abnormal program termination

C:\MyDocuments\Projects\Finniganraw\Debug>

This occurs when I compile using the Debug settings of VC++5.  If I use
the release settings,
I get:

>>> import finniganraw
Entering initfinniganraw.
Returned from Initmodule.
>>> dir(finniganraw)
['__doc__', '__file__', '__name__', 'datafile', 'debug']
>>>

Anyone know what's up?

Tom Fenn




More information about the Python-list mailing list