"c:\PYTHON26\lib\threading.py", line 121, in acquire
rc = self.__block.acquire(blocking)
Can someone tell me how the sleep of one thread can continue as the 'run' of
another? Is this normal? Thanks in advance!
Regards,
Vincent van Beveren
___
Ing. V. van Beveren
Software Engineer, FOM Rijnhuizen
T: +31 (0) 30-6096769
E: v.vanbeve...@rijnhuizen.nl
--
http://mail.python.org/mailman/listinfo/python-list
dimise of a weak-reference
Am 30.07.2010 16:06, schrieb Vincent van Beveren:
> I did not know the object did not keep track of its bound methods. What
> advantage is there in creating a new bound method object each time its
> referenced? It seems kind of expensive.
Christian
--
http://
Hi Gregory,
> You can create your own wrapper that keeps a weak reference to
> the underlying object. Here's an example.
> [...]
Thanks for the code!
Regards,
Vincent
--
http://mail.python.org/mailman/listinfo/python-list
: vrijdag 30 juli 2010 15:06
To: python-list@python.org
Subject: Re: The untimely dimise of a weak-reference
Vincent van Beveren wrote:
> Hi everyone,
>
> I was working with weak references in Python, and noticed that it was
> impossible to create a weak-reference of bound methods. Here
g I can do about it? I wish to reference these bound functions, but I do
not want to keep them in memory once the object they belong to is no longer
referenced.
Regards,
Vincent van Beveren
___
Ing. V. van Beveren
Software Engineer, FOM Rijnhuizen
E: v.vanbeve...@rijnhuizen.nl
--
http://mail.python.org/mailman/listinfo/python-list