]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37953: Fix ForwardRef hash and equality checks (GH-15400) (GH-18751)
authorRyan Rowe <ryanf.rowe@gmail.com>
Tue, 3 Mar 2020 22:29:40 +0000 (14:29 -0800)
committerGitHub <noreply@github.com>
Tue, 3 Mar 2020 22:29:40 +0000 (17:29 -0500)
commit3eff46fc7d2e3c80c4dedba4177782f1fc8ad89b
tree0c5e7950104d13b3ebdaf72b1b876a82620df043
parentf8f163c38f29e409b044e17afb01ca38485a7227
bpo-37953: Fix ForwardRef hash and equality checks (GH-15400) (GH-18751)

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 e082e7c)

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]