[Pythonmac-SIG] RefCount ?

Peter Sommerfeld peter.sommerfeld@gmx.de
Sat, 1 May 1999 04:22:38 +0200


I have some objects which contain elements with direkt references
back to the object. It would be possible to avoid any danger if I could
decrement the refcount of the object at assignment. There is sys.getrefcount
but is there somewhere it's counterpart, set refount ? This seems to be
possible on C-level only. Or is there somewhere a hidden backdoor or dirty
hack to accomplish this ?

thanx

-- Peter