[Python-Dev] Re: Supporting Third Party Modules (was The other
fredrik at pythonware.com
Sat Dec 11 15:06:05 CET 2004
Martin v. Löwis wrote:
>> Third party modules would link against this DLL independent of which
>> python is being used.
> I believe this is not implementable: How can the DLL know which Python
> DLL to use?
the Python interpreter could initialize this DLL, using some suitable mechanism.
alternatively, it could figure out what EXE you used to start the program in the
first place, and figure out what Python DLL that EXE uses. my ExeMaker tool
can do that, for example:
(see the #!python.exe entry in the table)
More information about the Python-Dev