mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-91051: allow setting a callback hook on PyType_Modified (GH-97875)
This commit is contained in:
parent
8367ca136e
commit
82ccbf69a8
9 changed files with 462 additions and 5 deletions
|
@ -587,6 +587,12 @@ New Features
|
|||
:c:func:`PyDict_AddWatch` and related APIs to be called whenever a dictionary
|
||||
is modified. This is intended for use by optimizing interpreters, JIT
|
||||
compilers, or debuggers.
|
||||
(Contributed by Carl Meyer in :gh:`91052`.)
|
||||
|
||||
* Added :c:func:`PyType_AddWatcher` and :c:func:`PyType_Watch` API to register
|
||||
callbacks to receive notification on changes to a type.
|
||||
(Contributed by Carl Meyer in :gh:`91051`.)
|
||||
|
||||
|
||||
Porting to Python 3.12
|
||||
----------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue