diff options
author | Itamar Ostricher <itamarost@gmail.com> | 2022-12-14 19:14:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 19:14:16 (GMT) |
commit | ae83c782155ffe86830c3255e338f366e331ad30 (patch) | |
tree | 353db1dc5287520c07b951467461deb8a10a84c4 /Include | |
parent | aa8591e9ca9a3e55e96a03c17fa9d3902f0674dc (diff) | |
download | cpython-ae83c782155ffe86830c3255e338f366e331ad30.zip cpython-ae83c782155ffe86830c3255e338f366e331ad30.tar.gz cpython-ae83c782155ffe86830c3255e338f366e331ad30.tar.bz2 |
GH-100000: Cleanup and polish various watchers code (GH-99998)
* Initialize `type_watchers` array to `NULL`s
* Optimize code watchers notification
* Optimize func watchers notification
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_interp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/internal/pycore_interp.h b/Include/internal/pycore_interp.h index ffda135..0e3d468 100644 --- a/Include/internal/pycore_interp.h +++ b/Include/internal/pycore_interp.h @@ -142,7 +142,6 @@ struct _is { // Initialized to _PyEval_EvalFrameDefault(). _PyFrameEvalFunction eval_frame; - PyDict_WatchCallback dict_watchers[DICT_MAX_WATCHERS]; PyFunction_WatchCallback func_watchers[FUNC_MAX_WATCHERS]; // One bit is set for each non-NULL entry in func_watchers uint8_t active_func_watchers; |