weakrefs and bound methods

Mathias Panzenboeck e0427417 at student.tuwien.ac.at
Sun Oct 7 18:52:46 CEST 2007


Marc 'BlackJack' Rintsch wrote:
> ``del b`` just deletes the name `b`.  It does not delete the object. 
> There's still the name `_` bound to it in the interactive interpreter. 
> `_` stays bound to the last non-`None` result in the interpreter.
> 

Actually I have the opposite problem. The reference (to the bound method)
gets lost but it shouldn't!


	-panzi



More information about the Python-list mailing list