The untimely dimise of a weak-reference

Peter Otten __peter__ at web.de
Fri Jul 30 10:18:39 EDT 2010


Vincent van Beveren wrote:

> 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.

While I didn't measure it I suppose that it saves a lot of memory.

Peter



More information about the Python-list mailing list