In article <84397edd-4830-4c90-9fb6-f72c74028...@i28g2000prd.googlegroups.com>,
Jeremy wrote:
>
>While guaranteed unique for simultaneously existing objects, how often
>will an object assume an ID previously held by former object? Given
>that the ID is a memory address in Python's heap, I assume
Hello,
I'm using weakrefs in a small multi-threaded application. I have been
using object IDs as dictionary keys with weakrefs to execute removal
code, and was glad to find out that this is in fact recommended
practice (http://docs.python.org/library/weakref.html)
> This simple example shows how