bpo-44991: Make GIL handling more explicit in sqlite3
callbacks
#27934
Conversation
Exception: in the trace callback, do a sanity check before attempting to hold the GIL.
FYI, I'll normalise the callback names in a separate PR. |
|
- since _destructor is a callback, wrap it in GIL lock/unlock - remove GIL lock/unlock from create_callback_context()
Yes, that's cleaner. Thanks! See d42eb38. PTAL :) |
Looks good, thank you!
Thanks, and thank you for reviewing! |
@erlend-aasland: Status check is done, and it's a failure |
@erlend-aasland: Status check is done, and it's a success |
[1] The trace callback performs a sanity check before acquiring the GIL
https://bugs.python.org/issue44991
Automerge-Triggered-By: GH:encukou
The text was updated successfully, but these errors were encountered: