tuple weakref

Robin Becker robin at jessikat.fsnet.co.uk
Sun Apr 13 07:51:45 EDT 2003


What's the correct incantation to get a weak reference to a tuple? The
rather obvious wrapper approach fails as the wrapper dies immediately

ie weakref.ref(Wrapper((....)))

or we make a non anonymous wrapper which is what we want to avoid.
-- 
Robin Becker




More information about the Python-list mailing list