Uh oh!
There was an error while loading. Please reload this page.
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.
Uh oh!
There was an error while loading. Please reload this page.
erlend-aasland
commented
Aug 26, 2021
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()
erlend-aasland
commented
Aug 31, 2021
Yes, that's cleaner. Thanks! See d42eb38. PTAL :) |
erlend-aasland
commented
Aug 31, 2021
Thanks, and thank you for reviewing! |
miss-islington
commented
Aug 31, 2021
@erlend-aasland: Status check is done, and it's a failure ❌ . |
miss-islington
commented
Aug 31, 2021
@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