Valery Lesin added the comment:
OS: windows xp
Compiler: MSVC versions 7.1, 8.0 and 9.0
Actually, the difference in compiler for python library and client applications
causes the problem (I suppose that even same compiler with different options
could give binary incompatible FILE structures
New submission from Valery Lesin :
All the functions in Python/C API for file execution (like PyRun_SimpleFile)
crash the application.
Some thoughts about problem: these functions use FILE* as first parameter which
is binary incompatible with different CRT (python.dll and application could
New submission from Valery Lesin :
OS: windows
The attempt to import module with non 7-bit ASCII name results in
'ImportError: No module named ' exception.
Some thoughts: import.c uses functions like fopen, stat and FindFirstFile which
wouldn't work correctly with non 7-bit
New submission from Valery Lesin :
Interpreter: Python 3.1.2
Sample:
= first.py =
import sys
import second
if 'second' in sys.modules:
print ('in sys modules')
del sys.modules['second']
del second
= second.py =
class A:
def __init__(se