]> granicus.if.org Git - python/commit
bpo-37953: Fix ForwardRef hash and equality checks (GH-15400)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 13 Sep 2019 20:00:39 +0000 (13:00 -0700)
committerGitHub <noreply@github.com>
Fri, 13 Sep 2019 20:00:39 +0000 (13:00 -0700)
commite91edfed4214dbae17b8906b5dc7778769aac620
tree00f76a6d89edba26c9fc11b4023411ec288d5f29
parentcd85200f6d7a92fab04dd8b4745e6ff8d79f231e
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
(cherry picked from commit e082e7cbe4a934b86f7a07354d97d4e14a9dd46a)

Co-authored-by: plokmijnuhby <39633434+plokmijnuhby@users.noreply.github.com>
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]