Python DLL in Windows Folder

"Martin v. Löwis" martin at v.loewis.de
Sat Dec 29 06:19:50 EST 2007


> There is at least one actual problem I came across in an application
> linked with MSVCR 8.0, loading the Python DLL linked against MSVCR
> 7.1. When running a Python file using one of the PyRun_File[1]
> functions, the passed file handle has to be created from the embedding
> application. This handle is incompatible with the C file handling
> functions used by the C runtime of the Python DLL, which causes it to
> crash when calling PyRun_File.

Indeed. That is one of the main reasons to remove that API in Py3k.

Regards,
Martin



More information about the Python-list mailing list