Python 2.1 - tokenizer fgets crash (Windows)

paul at fxtech.com paul at fxtech.com
Sat Feb 17 10:58:07 EST 2001


This is weird. I am using the 2.1 debug DLL/lib built from the CVS 
sources in an embedded app. I can init the interpreter and run some 
startup code with PyRun_SimpleString() (to redirect stdout/stderr, 
etc). But when I try to use PyRun_AnyFile() it crashes in the 
tokenizer at the first fgets() call. Stepping into the code, 
everything looks "good" up to that call. I suspect some kind of 
library/DLL settings mismatch. 

Anyone have any clues?






More information about the Python-list mailing list