Neil Schemenauer <nas-pyt...@arctrix.com> added the comment:
It seems to me the old behaviour (don't forward hash) was done for good reasons. If the referent might go away, it is not valid to use it as a dict key since the hash and eq result changes. If it can't go away, what reason is there to use a weakref and not a direct reference? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44523> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com