The latest python 3.14 release changes the default `Literal.__args__` adding a deduplication of unhashable arguments in typing.Literal python 3.14.7: ``` >>> from typing import Literal >>> Literal[[], []].__args__ ([],) ``` With previous python 3.14.6 we get: ``` >>> from typing import Literal >>> Literal[[], []].__args__ ([], []) ``` The change in cpython is done in this commit: https://github.com/python/cpython/commit/a53b5b126749133e50692fe0c3729f5580ee8500#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305dR2805-R2812
The latest python 3.14 release changes the default
Literal.__args__adding a deduplication of unhashable arguments in typing.Literalpython 3.14.7:
With previous python 3.14.6 we get:
The change in cpython is done in this commit:
python/cpython@a53b5b1#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305dR2805-R2812