diff options
author | plokmijnuhby <39633434+plokmijnuhby@users.noreply.github.com> | 2019-09-13 19:40:54 (GMT) |
---|---|---|
committer | Ivan Levkivskyi <levkivskyi@gmail.com> | 2019-09-13 19:40:54 (GMT) |
commit | e082e7cbe4a934b86f7a07354d97d4e14a9dd46a (patch) | |
tree | c5aef93f4c813f1cbe7f6158489f72e3a9098974 /Misc | |
parent | 77cd0ceab2f6c1696fb1d31115c2f880b2e21934 (diff) | |
download | cpython-e082e7cbe4a934b86f7a07354d97d4e14a9dd46a.zip cpython-e082e7cbe4a934b86f7a07354d97d4e14a9dd46a.tar.gz cpython-e082e7cbe4a934b86f7a07354d97d4e14a9dd46a.tar.bz2 |
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
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-09-06-17-40-34.bpo-37953.db5FQq.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-06-17-40-34.bpo-37953.db5FQq.rst b/Misc/NEWS.d/next/Library/2019-09-06-17-40-34.bpo-37953.db5FQq.rst new file mode 100644 index 0000000..4eff4f7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-09-06-17-40-34.bpo-37953.db5FQq.rst @@ -0,0 +1,2 @@ +In :mod:`typing`, improved the ``__hash__`` and ``__eq__`` methods for
+:class:`ForwardReferences`.
|