diff options
| author | Itamar Ostricher <itamarost@gmail.com> | 2022-12-14 11:14:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-14 19:14:16 +0000 |
| commit | ae83c782155ffe86830c3255e338f366e331ad30 (patch) | |
| tree | 353db1dc5287520c07b951467461deb8a10a84c4 /Include | |
| parent | aa8591e9ca9a3e55e96a03c17fa9d3902f0674dc (diff) | |
| download | cpython-git-ae83c782155ffe86830c3255e338f366e331ad30.tar.gz | |
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 ffda135195..0e3d46852f 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; |
