bpo-46417: Clear Unicode static types at exit (GH-30806)
Add _PyUnicode_FiniTypes() function, called by finalize_interp_types(). It clears these static types: * EncodingMapType * PyFieldNameIter_Type * PyFormatterIter_Type _PyStaticType_Dealloc() now does nothing if tp_subclasses is not NULL.
V
Victor Stinner committed
1626bf4ac7aef1244e6f886e63a31f7ed65fbd10
Parent: 621a45c
Committed by GitHub <noreply@github.com>
on 1/22/2022, 9:55:39 PM