Files
cpython/Python
Miss Islington (bot)andJelle Zijlstra ddf7156bab [3.14] gh-159739: Skip context watchers cleared during notification (GH-160164) (#160289)
A context watcher callback can clear a later watcher while a context-switch notification is being dispatched. The dispatcher still uses its earlier snapshot of active watchers, so it calls a NULL callback and crashes; check that each callback is still registered before invoking it. Backport to 3.15 and 3.14.
(cherry picked from commit 0a5762621f)

Co-authored-by: Jelle Zijlstra <jelle@openai.com>
2026-10-22 15:20:56 -07:00
..
2009-04-27 20:54:42 +00:00

Miscellaneous source files for the main Python shared library