Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Python to-Python converter for class T already registered
From: Ravi (lists_ravi_at_[hidden])
Date: 2011-07-04 07:01:44

On Monday 27 June 2011 11:35:38 Tyler Weston wrote:
> I have a few questions about this, as I am new to python. I thought that
> modules were supposed to be process-global. How do i enforce this and
> prevent __init__ from being called twice? Are the warnings benign? Should I
> be concerned about the state of my library static globals (ie is the
> compiled code going through a second initialization process)?

In your case, the warnings are benign. However, the fundamental problem of
__init__ begin called twice breaks all sorts of expected invariants for
python. This should probably be resolved at the level of the code that
interfaces with django.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at