]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46417: Clear symtable identifiers at exit (GH-30809)
authorVictor Stinner <vstinner@python.org>
Sat, 22 Jan 2022 23:06:56 +0000 (00:06 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 23:06:56 +0000 (00:06 +0100)
commit12f4ac3bc848244242d6b8a7ee158b985fd64744
tree97646cd4908ef2ac6fd9f3b51d06a180603d3118
parent1ded8ed8e817b8f9dae1a0ef92d97983afbc844e
bpo-46417: Clear symtable identifiers at exit (GH-30809)

Add _PySymtable_Fini() function, called by finalize_interp_clear().

Update test_cmd_line.test_showrefcount() to tolerate negative
reference count.
Include/internal/pycore_symtable.h
Lib/test/test_cmd_line.py
Python/pylifecycle.c
Python/symtable.c