]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94673: Clarify About Runtime State Related to Static Builtin Types (gh-117761)
authorEric Snow <ericsnowcurrently@gmail.com>
Fri, 12 Apr 2024 22:39:27 +0000 (16:39 -0600)
committerGitHub <noreply@github.com>
Fri, 12 Apr 2024 22:39:27 +0000 (16:39 -0600)
commiteca53620e3ff1f2e7d621360a513ac34a1b35aa3
treeab3c223d633da42d8205ff12d90da8f40b709885
parent30f0643e36d2c9a5849c76ca0b27b748448d0567
gh-94673: Clarify About Runtime State Related to Static Builtin Types (gh-117761)

Guido pointed out to me that some details about the per-interpreter state for the builtin types aren't especially clear.  I'm addressing that by:

* adding a comment explaining that state
* adding some asserts to point out the relationship between each index and the interp/global runtime state
Include/internal/pycore_typeobject.h
Objects/typeobject.c