Pablo Galindo Salgado <[email protected]> added the comment:
Just also to be clear on my original message, reverting it to a previous
behaviour would disallow some patterns that could be useful:
>>> class A:
... ...
...
>>> a = A()
>>> d = {a: None}
>>> weakref.proxy(a) in d
True
But I agree is better to revert back in any case
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44523>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com