Re: [C++-sig] How can I have a global C/C++ variable that is shared between Python C/C++ extensions?

2013-06-13 Thread Alex Leach
I had a similar problem when testing my extensions on OSX. I guess you're not on OSX, but if you test out on it, I'm sure you'd find even more linking problems.. Problem is that the bundle format - the default Python extension format, on OSX - doesn't allow compile-time linking, only run-time dyna

[C++-sig] How can I have a global C/C++ variable that is shared between Python C/C++ extensions?

2013-06-13 Thread octalber fest
Dear list, Apologies if this question is slightly off-topic, but I thought I might get answers here rather than the other Python mailing lists. I have a rather specific issue with creating a Python C++ extension that I'm really stuck on it. These are the details... -- I have written a Python pac