On Mon, 10 May 2010 07:26:42 -0700 (PDT)
moerchendiser2k3 wrote:
>
> Do to some debugging if a version contains a bug and needs to be fixed
> there manually.
This is certainly the wrong approach.
To know if your Python code is leaking references, use either
sys.getrefcount(), or (better) a weakr
Do to some debugging if a version contains a bug and needs to be fixed
there manually.
--
http://mail.python.org/mailman/listinfo/python-list
moerchendiser2k3 wrote:
Hi,
just a small question. Is it possible to change the refcount of a
reference manually? For debugging / ...
Thanks!
moerchendiser2k3
Why don't you just create a global reference to the object ? Unless this
one is removed, the object will be kept in memory.
JM
--
Hi,
just a small question. Is it possible to change the refcount of a
reference manually? For debugging / ...
Thanks!
moerchendiser2k3
--
http://mail.python.org/mailman/listinfo/python-list