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

"Martin v. Löwis" martin at v.loewis.de
Sat Dec 11 09:39:28 CET 2004


Chui G. Tey wrote:
> One good way of helping out is to provide an dynamic loading function
> that third party modules could access the basic python functions such as
> PyArgParseTuple, PyString_AsString etc regardless of which python the
> user is running. This would be similar to the COM approach. You can load
> all the function pointers into a struct and then call them. 
> 
> 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?

Regards,
Martin


More information about the Python-Dev mailing list