[C++-sig] Re: Python differences on Windows and Linux

David Abrahams dave at boost-consulting.com
Fri Apr 9 02:59:12 CEST 2004

"Niall Douglas" <s_sourceforge at nedprod.com> writes:

> When creating a new interpreter using Py_NewInterpreter, on Windows I 
> need to reimport my BPL based bindings in the new environment but if 
> I try this on Linux I get BPL failing its "I don't like being 
> imported twice" assertion test.
> Is this behaviour known and does anyone know why it's happening? 
> Could it be related to my BPL based bindings being linked against a 
> static library python on linux versus a dynamic library python on 
> Windows? 

Yes it could.

I-know-it's-not-much,-but-HTH-ly y'rs,
Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list