22 – PyContext_ClearFreeList() – PyDict_ClearFreeList() – PyFloat_ClearFreeList() – PyFrame_ClearFreeList() – PyList_ClearFreeList() – PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() : the free lists of bound method objects have been removed. – PySet_ClearFreeList() : the set free list has been removed in Python 3.4. – PyTuple_ClearFreeList() – PyUnicode_ClearFreeList() : the Unicode free list has been removed in Python 3.3. • Removed _PyUnicode_ClearStaticStrings() function. (Contributed by Victor Stinner in bpo- 39465.) • Removed Py_UNICODE_MATCH . It has been deprecated by PEP 393 , and broken since Python 3.3. The PyUnicode_Tailmatch() function can be used instead. (Contributed by Inada Naoki in bpo-36346.) • Cleaned header files of interfaces defined but with no implementation. The public API symbols being removed are: _PyBytes_InsertThousandsGroupingLocale , _PyBytes_InsertThousandsGrouping , $_{_Py_InitializeFromArgs}$, _Py_InitializeFromWideArgs , _PyFloat_Repr , _PyFloat_Digits , _PyFloat_DigitsInit , PyFrame_ExtendStack , _PyAIterWrapper_Type , PyNullImporter_Type , PyCmpWrapper_Type , $_{PySortWrapper_Type}$, PyNoArgsFunction . (Contributed by Pablo Galindo Salgado in bpo-39372.) 1. Literal now de-duplicates parameters. 2. Equality comparisons between$_{Literal}$ objects are now order independent. 3. Literal comparisons now respect types. For example, Literal[0] == Literal[False] previ- ously evaluated to $_{True}$. It is now $_{False}$. To support this change, the internally used type cache now supports differentiating types. 4. Literal objects will now raise a TypeError exception during equality comparisons if any of their pa- rameters are not hashable. Note that declaring$_{Literal}$ with mutable parameters will not throw an error: >>> from typing import Literal >>> Literal[{ 0}] >>> Literal[{ 0}] ==Literal[{ False }] Traceback (most recent call last): File "<stdin>" , line1, in <module> TypeError: unhashable type: 'set' The behavior of$_{typing.Literal}$was changed to conform with PEP 586 and to match the behavior of static type checkers specified in the PEP. 13.1 typing 13 Notable changes in Python 3.9.1 (Contributed by Yurii Karabas in bpo-42345.)