000: [packer@titan ivupy]$ python refcounting.py 001: Make a separator. 002: iv: sipSoSeparator(): ref() to 1 003: Make a cone. 004: iv: sipSoCone(): ref() to 1 005: Add the cone to the separator. 006: s.getRefCount() = 1 007: c.getRefCount() = 2 008: Return the separator. 009: The Python reference to the cone goes out of scope. 010: iv: dealloc_SoCone(0xb4cbce0c): unref() to 1, ownership to C++ 011: s.getRefCount() = 1 012: Get the cone from the separator 013: iv: convertFrom_SoNode to 0xb4cbce0c: ref() to 2, ownership to Python 014: c.getRefCount() = 2 015: The Python reference to the separator and cone go out of scope. 016: iv: dealloc_SoCone(0xb4cbce0c): unref() to 1, ownership to C++ 017: iv: dealloc_SoSeparator(0xb4d06e9c): unrefNoDelete() to 0, SIP deletes 018: [packer@titan ivupy]$