I think stepping through this with a debugger is indeed the best way to
figure out what's going on. I'm afraid there's both too little and too
much information here for me to take a good guess at what the problem is.
I will say that exposing std::vectors of raw pointers to Python seems
like a
Okay I think something else is majorly wrong; my component objects are being
seen at Item onjects. I'll try to keep the code I show to a minimum.
In my python file, I have the following:
def ItemFactory(ItemNode):ItemName = ItemNode.attrib["name"]if (True):
#if ItemName == "Elixir":
On Tue, 08 Nov 2011, Jim Bosch wrote:
> In the meantime, I've essentially followed the "parallel pure-Python
> exception hierarchy" method, but you can do some metaprogramming
> tricks to keep from having to actually build the Python hierarchy
> yourself. In other words, write some Python code th
On 11/08/2011 01:12 AM, Jay Riley wrote:
I'm trying to pass an object from python to C++. I want C++ to take
control of the object.
Am I doing something wrong? base on that snippet it should work. Is
there another way to do this? I know I should probably switch to
smart_ptrs and I'm consider
On 11/07/2011 09:19 PM, Nick Rasmussen wrote:
I'm cleaning up some of our python bindings for public release as
part of the openexr distribution, and wanted to update the python
bindings of our exception library, Iex, to use boost::python.
The first thing I did was the trivial binding of the cla