]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-100000: Cleanup and polish various watchers code (GH-99998)
authorItamar Ostricher <itamarost@gmail.com>
Wed, 14 Dec 2022 19:14:16 +0000 (11:14 -0800)
committerGitHub <noreply@github.com>
Wed, 14 Dec 2022 19:14:16 +0000 (19:14 +0000)
commitae83c782155ffe86830c3255e338f366e331ad30
tree353db1dc5287520c07b951467461deb8a10a84c4
parentaa8591e9ca9a3e55e96a03c17fa9d3902f0674dc
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
Include/internal/pycore_interp.h
Modules/_testcapi/watchers.c
Objects/codeobject.c
Objects/funcobject.c
Objects/typeobject.c
Python/pystate.c