This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kj
Recipients Dominik V., gvanrossum, kj, levkivskyi, uriyyo
Date 2020-11-15.16:01:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@Guido and @Ivan,

Should Literals de-duplicate values in its __args__ similar to Union? PEP 586 states that:
> Literal[v1, v2, v3] is equivalent to Union[Literal[v1], Literal[v2], Literal[v3]]

Naturally, a Union de-duplicates values, so I was wondering if Literal should follow.
Date User Action Args
2020-11-15 16:01:46kjsetrecipients: + kj, gvanrossum, levkivskyi, uriyyo, Dominik V.
2020-11-15 16:01:46kjsetmessageid: <>
2020-11-15 16:01:46kjlinkissue42345 messages
2020-11-15 16:01:46kjcreate