[C++-sig] C++ chain method works unexpectedly in Python

Wichert Akkerman wichert at wiggy.net
Mon Apr 18 09:35:46 CEST 2011


On 2011-4-18 03:50, Charles Solar wrote:
> Well I know python uses ref counting, so I was hoping the support for
> chain methods would be near identical to C++'s since python would not
> have any reference to hold onto for Test().

That is true for CPython, but may not be true for other python 
implementations.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.


More information about the Cplusplus-sig mailing list