]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46417: Clear _io module static objects at exit (GH-30807)
authorVictor Stinner <vstinner@python.org>
Sat, 22 Jan 2022 22:22:20 +0000 (23:22 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 22:22:20 +0000 (23:22 +0100)
commit9c8e490b8f9e40a6fe9815be58bacaecab5369ee
treec249f59c3fb54dc2efb8c38c53b617f72b02c67e
parent1626bf4ac7aef1244e6f886e63a31f7ed65fbd10
bpo-46417: Clear _io module static objects at exit (GH-30807)

Add _PyIO_Fini() function, called by finalize_interp_clear(). It
clears static objects used by the _io extension module.
Modules/_io/_iomodule.c
Python/pylifecycle.c