summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-03-18 18:11:10 (GMT)
committerGitHub <noreply@github.com>2024-03-18 18:11:10 (GMT)
commit7e1f38f2de8f93de362433203faa5605a0c47f0e (patch)
treeaf7b0edad82614c2e8f646934fad5286e1211723 /Include/internal
parent76d086890790f1bfbe05d12e02cadb539db5b0b1 (diff)
downloadcpython-7e1f38f2de8f93de362433203faa5605a0c47f0e.zip
cpython-7e1f38f2de8f93de362433203faa5605a0c47f0e.tar.gz
cpython-7e1f38f2de8f93de362433203faa5605a0c47f0e.tar.bz2
gh-116916: Remove separate next_func_version counter (#116918)
Somehow we ended up with two separate counter variables tracking "the next function version". Most likely this was a historical accident where an old branch was updated incorrectly. This PR merges the two counters into a single one: `interp->func_state.next_version`.
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_interp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/internal/pycore_interp.h b/Include/internal/pycore_interp.h
index d79fd3b..942f473 100644
--- a/Include/internal/pycore_interp.h
+++ b/Include/internal/pycore_interp.h
@@ -245,7 +245,6 @@ struct _is {
uint16_t optimizer_side_threshold;
- uint32_t next_func_version;
_rare_events rare_events;
PyDict_WatchCallback builtins_dict_watcher;