
Jan. 13, 2022
10:28 a.m.
Am 12.01.22 um 23:47 schrieb Graham Bleaney:
I think a consistent piece of feedback has been that `Literal[str]` has problems, so let's get rid of it. Here are some alternatives that have been suggested by various folks:
* With parameterization: o AnyLiteral[str]
While I like this name in theory, I would avoid a name containing "Any" for this, since this implies a typing escape hatch. - Sebastian