]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124872: Change PyContext_WatchCallback to take PyObject (#124737)
authorRichard Hansen <rhansen@rhansen.org>
Sat, 12 Oct 2024 20:57:27 +0000 (16:57 -0400)
committerGitHub <noreply@github.com>
Sat, 12 Oct 2024 20:57:27 +0000 (13:57 -0700)
commit330c527299a5380f39c658bfa9321706cabc445d
tree1775de190a8bf9674f0131504aac0981b430b7d9
parentfa52b82c91a8e1a0971bd5fef656473ec93f41e3
gh-124872: Change PyContext_WatchCallback to take PyObject (#124737)

The PyContext struct is not intended to be public, and users of the
API don't need anything more specific than PyObject.  Also see
gh-78943.
Doc/c-api/contextvars.rst
Include/cpython/context.h
Modules/_testcapi/watchers.c
Python/context.c