]> granicus.if.org Git - python/commit
bpo-37953: Fix ForwardRef hash and equality checks (GH-15400)
authorplokmijnuhby <39633434+plokmijnuhby@users.noreply.github.com>
Fri, 13 Sep 2019 19:40:54 +0000 (20:40 +0100)
committerIvan Levkivskyi <levkivskyi@gmail.com>
Fri, 13 Sep 2019 19:40:54 +0000 (20:40 +0100)
commite082e7cbe4a934b86f7a07354d97d4e14a9dd46a
treec5aef93f4c813f1cbe7f6158489f72e3a9098974
parent77cd0ceab2f6c1696fb1d31115c2f880b2e21934
bpo-37953: Fix ForwardRef hash and equality checks (GH-15400)

Ideally if we stick a ForwardRef in a dictionary we would like to reliably be able to get it out again.

https://bugs.python.org/issue37953
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2019-09-06-17-40-34.bpo-37953.db5FQq.rst [new file with mode: 0644]