diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-31 08:43:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-31 08:43:40 (GMT) |
commit | 3997f3ce8ab15269fc800062f75411865dbc0d55 (patch) | |
tree | 822b70e4728cc1c8bf3276d1a55e714ef643b60f /Misc | |
parent | da222b7cc804adb1508f806d7fc6a2e65b8423e8 (diff) | |
download | cpython-3997f3ce8ab15269fc800062f75411865dbc0d55.zip cpython-3997f3ce8ab15269fc800062f75411865dbc0d55.tar.gz cpython-3997f3ce8ab15269fc800062f75411865dbc0d55.tar.bz2 |
bpo-45679: Fix caching of multi-value typing.Literal (GH-29334)
Literal[True, 2] is no longer equal to Literal[1, 2].
(cherry picked from commit 634984d7dbdd91e0a51a793eed4d870e139ae1e0)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst b/Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst new file mode 100644 index 0000000..a644492 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst @@ -0,0 +1,2 @@ +Fix caching of multi-value :data:`typing.Literal`. ``Literal[True, 2]`` is no +longer equal to ``Literal[1, 2]``. |