[Python-Dev] Re: Supporting Third Party Modules (was The other Py2.4issue)

Fredrik Lundh 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:

    http://effbot.org/zone/exemaker.htm

(see the #!python.exe entry in the table)

</F> 





More information about the Python-Dev mailing list