Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-91051: allow setting a callback hook on PyType_Modified#97875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
markshannon merged 21 commits intopython:mainfromcarljm:typewatch
Oct 21, 2022
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
21 commits
Select commitHold shift + click to select a range
f2b70a2
gh-91051: allow setting a callback hook on PyType_Modified
carljmOct 4, 2022
1a28a45
Add NEWS blurb.
carljmOct 5, 2022
95e49ee
Move new API to Include/cpython so it's not in limited API
carljmOct 5, 2022
1af2a98
Merge branch 'main' into typewatch
carljmOct 6, 2022
415ed49
Merge branch 'main' into typewatch
carljmOct 6, 2022
29e38df
Merge branch 'main' into typewatch
carljmOct 7, 2022
0de5aff
Merge branch 'main' into typewatch
carljmOct 7, 2022
27a4980
Merge branch 'main' into typewatch
carljmOct 7, 2022
d67d6fd
Merge branch 'main' into typewatch
carljmOct 8, 2022
cb71ae9
Multiple watchers and per-type watching
carljmOct 8, 2022
ab1606c
Update NEWS blurb
carljmOct 8, 2022
26ddee2
Fix doc build issues
carljmOct 8, 2022
4783e07
Fix typeobject size test
carljmOct 8, 2022
71d48c1
Merge branch 'main' into typewatch
carljmOct 9, 2022
21f42ee
Fix issue number in whatsnew (and add for dict watchers too)
carljmOct 9, 2022
6e53514
Merge branch 'main' into typewatch
carljmOct 14, 2022
2b42bfe
Type watcher review comments
carljmOct 14, 2022
cdbe93b
Merge branch 'main' into typewatch
carljmOct 17, 2022
4329743
Review comments
carljmOct 17, 2022
8bba5da
Merge branch 'main' into typewatch
carljmOct 20, 2022
22d190b
Short circuit watched bits check if no more bits are set
carljmOct 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fix doc build issues
  • Loading branch information
@carljm
carljm committedOct 8, 2022
commit26ddee2fc861b6c849048821d1f03865b8928e8d
2 changes: 1 addition & 1 deletionDoc/c-api/type.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,7 +88,7 @@ Type Objects
.. versionadded:: 3.12


.. c:function:: int (*PyType_WatchCallback)(PyObject *type)
.. c:type:: int (*PyType_WatchCallback)(PyObject *type)

Type of a type-watcher callback function.

Expand Down
1 change: 0 additions & 1 deletionDoc/whatsnew/3.12.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -557,7 +557,6 @@ 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:`31787`.)

* Added :c:func:`PyType_AddWatcher` and :c:func:`PyType_Watch` API to register
callbacks to receive notification on changes to a type.
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp