non-owning references?

Gerhard Häring gh at ghaering.de
Fri Jul 24 09:00:43 EDT 2009


Utpal Sarkar wrote:
> Hi,
> [...]

You're looking for the weakref module.

What you're describing there sounds like a nice exercise, but I cannot
imagine why you'd really need to clean it up, if it really is a singleton.

-- Gerhard




More information about the Python-list mailing list