cpython/Python
Victor Stinner e9e3eab0b8
bpo-46417: Finalize structseq types at exit (GH-30645)
Add _PyStructSequence_FiniType() and _PyStaticType_Dealloc()
functions to finalize a structseq static type in Py_Finalize().
Currrently, these functions do nothing if Python is built in release
mode.

Clear static types:

* AsyncGenHooksType: sys.set_asyncgen_hooks()
* FlagsType: sys.flags
* FloatInfoType: sys.float_info
* Hash_InfoType: sys.hash_info
* Int_InfoType: sys.int_info
* ThreadInfoType: sys.thread_info
* UnraisableHookArgsType: sys.unraisablehook
* VersionInfoType: sys.version
* WindowsVersionType: sys.getwindowsversion()
2022-01-21 01:42:25 +01:00
..
clinic bpo-46328: Add sys.exception() (GH-30514) 2022-01-13 12:35:58 +00:00
deepfreeze bpo-45696: Deep-freeze selected modules (GH-29118) 2021-11-10 18:01:53 -08:00
frozen_modules
_warnings.c
adaptive.md
asdl.c
ast.c bpo-45292: [PEP-654] add except* (GH-29581) 2021-12-14 16:48:15 +00:00
ast_opt.c bpo-45292: [PEP-654] add except* (GH-29581) 2021-12-14 16:48:15 +00:00
ast_unparse.c
bltinmodule.c bpo-44024: Improve the TypeError message in getattr and hasattr (GH-25863) 2022-01-18 22:46:26 +02:00
bootstrap_hash.c bpo-46303: Move fileutils.h private functions to internal C API (GH-30484) 2022-01-11 11:56:16 +01:00
ceval.c bpo-46409: Make generators in bytecode (GH-30633) 2022-01-20 11:46:39 +00:00
ceval_gil.h
codecs.c bpo-45855: Replaced deprecated PyImport_ImportModuleNoBlock with PyImport_ImportModule (GH-30046) 2021-12-12 10:45:20 +02:00
compile.c bpo-46409: Make generators in bytecode (GH-30633) 2022-01-20 11:46:39 +00:00
condvar.h
context.c bpo-46008: Make runtime-global object/type lifecycle functions and state consistent. (gh-29998) 2021-12-09 12:59:26 -07:00
dtoa.c bpo-45434: pyport.h no longer includes <stdlib.h> (GH-28914) 2021-10-13 19:25:53 +02:00
dup2.c
dynamic_annotations.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c bpo-45582: Port getpath[p].c to Python (GH-29041) 2021-12-03 00:08:42 +00:00
errors.c bpo-46417: Finalize structseq types at exit (GH-30645) 2022-01-21 01:42:25 +01:00
fileutils.c bpo-46362: Ensure ntpath.abspath() uses the Windows API correctly (GH-30571) 2022-01-13 23:35:42 +00:00
formatter_unicode.c bpo-35134: Add Include/cpython/longobject.h (GH-29044) 2021-10-19 02:04:52 +02:00
frame.c bpo-46409: Make generators in bytecode (GH-30633) 2022-01-20 11:46:39 +00:00
frozen.c bpo-45654: No need to freeze types (GH-30028) 2021-12-10 19:09:09 +01:00
frozenmain.c
future.c
getargs.c
getcompiler.c
getcopyright.c Update copyright year to 2022. (GH-30335) 2022-01-02 12:08:48 -08:00
getopt.c
getplatform.c
getversion.c bpo-43931: Export Python version as API data (GH-25577) 2021-12-09 17:52:05 -08:00
hamt.c bpo-46008: Make runtime-global object/type lifecycle functions and state consistent. (gh-29998) 2021-12-09 12:59:26 -07:00
hashtable.c
import.c bpo-45020: Fix strict-prototypes warning (GH-29755) 2021-11-24 20:01:39 +01:00
importdl.c
importdl.h
initconfig.c bpo-45582: Port getpath[p].c to Python (GH-29041) 2021-12-03 00:08:42 +00:00
makeopcodetargets.py
marshal.c bpo-35134: Move classobject.h to Include/cpython/ (GH-28968) 2021-10-15 09:46:29 +02:00
modsupport.c
mysnprintf.c
mystrtoul.c bpo-35134: Add Include/cpython/longobject.h (GH-29044) 2021-10-19 02:04:52 +02:00
opcode_targets.h bpo-46409: Make generators in bytecode (GH-30633) 2022-01-20 11:46:39 +00:00
pathconfig.c bpo-45582: Port getpath[p].c to Python (GH-29041) 2021-12-03 00:08:42 +00:00
preconfig.c bpo-45434: pyport.h no longer includes <stdlib.h> (GH-28914) 2021-10-13 19:25:53 +02:00
pyarena.c
pyctype.c
pyfpe.c bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507) 2022-01-13 09:46:04 +01:00
pyhash.c
pylifecycle.c bpo-46417: Finalize structseq types at exit (GH-30645) 2022-01-21 01:42:25 +01:00
pymath.c bpo-45440: Remove pymath.c fallbacks (GH-28977) 2021-10-15 19:45:34 +02:00
pystate.c bpo-45953: Statically initialize all the non-object PyInterpreterState fields we can. (gh-30589) 2022-01-13 17:17:28 -07:00
pystrcmp.c
pystrhex.c bpo-45434: pyport.h no longer includes <stdlib.h> (GH-28914) 2021-10-13 19:25:53 +02:00
pystrtod.c
Python-ast.c bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH-30467) 2022-01-07 13:05:28 -08:00
Python-tokenize.c
pythonrun.c bpo-45635: Do not suppress errors in functions called from _PyErr_Display (GH-30073) 2021-12-16 23:00:13 +00:00
pytime.c
README
specialize.c bpo-46409: Make generators in bytecode (GH-30633) 2022-01-20 11:46:39 +00:00
stdlib_module_names.h Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951) 2021-12-07 12:31:04 +01:00
structmember.c
suggestions.c bpo-45826: Fix a crash in suggestions.c by checking for traceback is None (GH-29590) 2021-11-18 00:03:52 +01:00
symtable.c bpo-45292: [PEP-654] add except* (GH-29581) 2021-12-14 16:48:15 +00:00
sysmodule.c bpo-46417: Finalize structseq types at exit (GH-30645) 2022-01-21 01:42:25 +01:00
thread.c bpo-46417: Finalize structseq types at exit (GH-30645) 2022-01-21 01:42:25 +01:00
thread_nt.h bpo-46008: Move thread-related interpreter state into a sub-struct. (gh-29971) 2021-12-07 14:03:47 -07:00
thread_pthread.h bpo-46008: Move thread-related interpreter state into a sub-struct. (gh-29971) 2021-12-07 14:03:47 -07:00
traceback.c bpo-45855: Replaced deprecated PyImport_ImportModuleNoBlock with PyImport_ImportModule (GH-30046) 2021-12-12 10:45:20 +02:00
wordcode_helpers.h

Miscellaneous source files for the main Python shared library