Re: [C++-sig] [Boost.Python] How to adjust Python reference counts for hybrid objects?

2011-11-15 Thread Per Knudsgaard
-- Per. -Original Message- From: Jim Bosch [mailto:tallji...@gmail.com] Sent: Tuesday, November 15, 2011 3:43 PM To: Development of Python/C++ integration Cc: Per Knudsgaard Subject: Re: [C++-sig] [Boost.Python] How to adjust Python reference counts for hybrid objects? On 11/14/201

Re: [C++-sig] [Boost.Python] How to adjust Python reference counts for hybrid objects?

2011-11-14 Thread Per Knudsgaard
ehalf Of Per Knudsgaard Sent: Friday, November 11, 2011 2:41 PM To: Development of Python/C++ integration Subject: Re: [C++-sig] [Boost.Python] How to adjust Python reference counts for hybrid objects? After playing around with this some more, I seem to be right in thinking that this is a pr

Re: [C++-sig] [Boost.Python] How to adjust Python reference counts for hybrid objects?

2011-11-11 Thread Per Knudsgaard
n_Python [2] http://mail.python.org/pipermail/cplusplus-sig/2007-March/011790.html From: cplusplus-sig-bounces+pknudsgaard=rgbnetworks@python.org [mailto:cplusplus-sig-bounces+pknudsgaard=rgbnetworks@python.org] On Behalf Of Per Knudsgaard Sent: Thursday, November 10, 2011 6:53 PM To: cplu

[C++-sig] [Boost.Python] How to adjust Python reference counts for hybrid objects?

2011-11-10 Thread Per Knudsgaard
Hi, I have run into a small problem with my understanding of Python reference counts with Python/C++ hybrid objects. I have an abstract interface called A and an associated factory interface called AFactory. I am looking to implement various A+AFactory combinations in both C++ and Pytho