[Pythonmac-SIG] dlopenflags and sharing symbols across python extension modules

Ronald Oussoren ronaldoussoren at mac.com
Sun Mar 5 11:05:03 CET 2006


On 5-mrt-2006, at 8:46, Zachary Pincus wrote:

> Hi folks,
>
>
> Any help or suggestions or thoughts would be greatly appreciated,

Don't do that?

Python uses two-level namespaces on OSX, and for a purpose: to avoid
accidentally picking up a symbol from another extension. IIRC You should
build a shared library containing the shared code and link all  
extensions
to that.

Ronald

>
>
> Zach Pincus
>
> Program in Biomedical Informatics and Department of Biochemistry
> Stanford University School of Medicine
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list