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.
Y
Yurii Karabas committed
f03d318ca42578e45405717aedd4ac26ea52aaed
Parent: b0aba1f
Committed by GitHub <noreply@github.com>
on 11/17/2020, 2:23:19 AM