Re: [C++-sig] Fwd: [boost-python] Making a reference to the PyObject* in construct()

2009-09-26 Thread troy d. straszheim
Austin Bingham wrote: I can't find any documentation re: the "borrowed" nature of obj_ptr, so I really just assumed that it was a normal, pre-incremented reference. Any help on this would be great. Thanks. Here's a good thread on this, thanks to Alex Mohr: http://mail.python.org/pipermail/cp

Re: [C++-sig] Fwd: [boost-python] Making a reference to the PyObject* in construct()

2009-09-26 Thread Austin Bingham
Thanks for the link, but I think I misspoke a bit. I do understand borrowed vs. owned references in general, but I'm not sure about the pointer in the specific context of the construct() call. Is it borrowed or pre-incremented? However, a little poking around the boost.python source seems to indic