]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46417: Clear more static types (GH-30796)
authorVictor Stinner <vstinner@python.org>
Sat, 22 Jan 2022 17:55:48 +0000 (18:55 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 17:55:48 +0000 (18:55 +0100)
commit500c146387b01ea797b52e6a54caf228384e184c
treeb10c015f37540da45ed534d0b4f9711c12a19f3e
parent1f8014c5b4ea7acee069ca453f6fbcad5990ebf0
bpo-46417: Clear more static types (GH-30796)

* Move PyContext static types into object.c static_types list.
* Rename PyContextTokenMissing_Type to _PyContextTokenMissing_Type
  and declare it in pycore_context.h.
* _PyHamtItems types are no long exported: replace PyAPI_DATA() with
  extern.
Include/internal/pycore_context.h
Include/internal/pycore_hamt.h
Objects/object.c
Python/bltinmodule.c
Python/context.c
Python/hamt.c
Python/pylifecycle.c