]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42064: Pass module state to trace, progress, and authorizer callbacks (GH-27940)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Tue, 7 Sep 2021 13:06:17 +0000 (15:06 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 13:06:17 +0000 (15:06 +0200)
commit979336de34e3d3f40cf6e666b72a618f6330f3c1
tree667ae18570148f7dfca2e97b2977e1a048090fc3
parent8ca6b61e3fd7f1e2876126cee82da8d812c8462f
bpo-42064: Pass module state to trace, progress, and authorizer callbacks (GH-27940)

- add print-or-clear traceback helper
- add helpers to clear and visit saved contexts
- modify callbacks to use the new callback_context struct
Modules/_sqlite/connection.c
Modules/_sqlite/connection.h