]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95795: Move types.next_version_tag to PyInterpreterState (gh-102343)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 24 Apr 2023 22:30:13 +0000 (16:30 -0600)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 22:30:13 +0000 (22:30 +0000)
commit209a0a76552c19088e74b0f27827b9214b6c2cf8
tree561e233e1e44bc061a8ee594f4c57fa657ba1d93
parent0dc8b50d33208e9ca4fc3d959c6798529731f020
gh-95795: Move types.next_version_tag to PyInterpreterState (gh-102343)

Core static types will continue to use the global value.  All other types
will use the per-interpreter value.  They all share the same range, where
the global types use values < 2^16 and each interpreter uses values
higher than that.
Include/internal/pycore_runtime.h
Include/internal/pycore_runtime_init.h
Include/internal/pycore_typeobject.h
Objects/typeobject.c