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

"Martin v. Löwis" martin at v.loewis.de
Sun Dec 12 17:02:57 CET 2004


Bob Ippolito wrote:
>> I believe this is not implementable: How can the DLL know which Python
>> DLL to use?
> 
> 
> Well for py2app on Mac OS X, I wrote an executable stub that chooses a 
> Python runtime from an XML file, looks up and binds a few symbols from 
> it dynamically, and then starts doing stuff.

While that would work, I think this is inappropriate for this specific
issue: we want to write extension modules which are independent of
the Python version, and might even be used with multiple Python
installations on the same system. In that case, adding configuration
files won't work, as each usage of the extension might require a
different Python DLL.

Regards,
Martin


More information about the Python-Dev mailing list