mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-42345: Fix three issues with typing.Literal parameters (GH-23294)
Literal equality no longer depends on the order of arguments. Fix issue related to `typing.Literal` caching by adding `typed` parameter to `typing._tp_cache` function. Add deduplication of `typing.Literal` arguments.
This commit is contained in:
parent
b0aba1fcdc
commit
f03d318ca4
4 changed files with 104 additions and 23 deletions
|
@ -861,6 +861,7 @@ Jan Kanis
|
|||
Rafe Kaplan
|
||||
Jacob Kaplan-Moss
|
||||
Allison Kaptur
|
||||
Yurii Karabas
|
||||
Janne Karila
|
||||
Per Øyvind Karlsen
|
||||
Anton Kasyanov
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue