Mark Shannon
0e71a295e9
GH-113710: Add a "globals to constants" pass (GH-114592)
...
Converts specializations of `LOAD_GLOBAL` into constants during tier 2 optimization.
2024-02-02 12:14:34 +00:00
Serhiy Storchaka
970e719a7a
gh-108082: Use PyErr_FormatUnraisable() (GH-111580)
...
Replace most of calls of _PyErr_WriteUnraisableMsg() and some
calls of PyErr_WriteUnraisable(NULL) with PyErr_FormatUnraisable().
Co-authored-by: Victor Stinner <vstinner@python.org>
2023-11-02 09:16:34 +00:00
Carl Meyer
fce93c80ae
gh-91051: fix type watcher test to be robust to existing watcher ( #107989 )
2023-08-16 13:13:32 -06:00
Carl Meyer
66e4edd734
gh-91051: fix segfault when using all 8 type watchers ( #107853 )
2023-08-11 12:42:26 -06:00
Carl Meyer
1e703a4733
gh-102381: don't call watcher callback with dead object ( #102382 )
...
Co-authored-by: T. Wouters <thomas@python.org>
2023-03-07 17:10:58 -07:00
Itamar Ostricher
1012dc1b43
GH-91054: Reset static events counts in code watchers tests ( #99978 )
2022-12-04 12:38:21 +00:00
Itamar Ostricher
3c137dc613
GH-91054: Add code object watchers API (GH-99859)
...
* Add API to allow extensions to set callback function on creation and destruction of PyCodeObject
Co-authored-by: Ye11ow-Flash <janshah@cs.stonybrook.edu>
2022-12-02 17:28:27 +00:00
mpage
3db0a21f73
gh-91053: Add an optional callback that is invoked whenever a function is modified ( #98175 )
2022-11-22 13:06:44 +01:00
Erlend E. Aasland
51d10354f4
gh-93649: Split watcher API tests from _testcapimodule.c ( #99532 )
2022-11-16 20:13:32 +01:00