commit | f03d318ca42578e45405717aedd4ac26ea52aaed | [log] [tgz] |
---|---|---|
author | Yurii Karabas <1998uriyyo@gmail.com> | Tue Nov 17 04:23:19 2020 +0200 |
committer | GitHub <noreply@github.com> | Mon Nov 16 18:23:19 2020 -0800 |
tree | 97d64b427c5f171138a10391e088e77d241b9182 | |
parent | b0aba1fcdc3da952698d99aec2334faa79a8b68c [diff] |
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.