donkopotamus added the comment:

Just to add, I framed this slightly wrongly by using a list [] as an example, 
whereas my original motivating case was objects that are hashable but not 
weakly referenceable.   (eg () ).

So there are two cases to consider ... what to do in discard/remove etc when 
the value is (i) not weakly referenceable, and (ii) when the value is not 
hashable.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30100>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to