bpo-46417: time module uses PyStructSequence_NewType() (GH-30734)
The time module now creates its struct_time type as a heap type using PyStructSequence_NewType(), rather than using a static type. * Add a module state to the time module: add traverse, clear and free functions. * Use PyModule_AddType(). * Remove the 'initialized' variable.
V
Victor Stinner committed
17f268a4ae6190b2659c89c6f32ad2d006e0e3c8
Parent: f389b37
Committed by GitHub <noreply@github.com>
on 1/21/2022, 1:52:43 AM