Uh oh!
There was an error while loading. Please reload this page.
bpo-42064: Pass module state to sqlite3 UDF callbacks - #27456
Conversation
erlend-aasland
commented
Jul 29, 2021
A couple of questions, @encukou:
|
encukou
commented
Jul 30, 2021
There are very few funcitons in the C-API that you can call without the GIL held; usually they're the ones needed before a GIL is created. For |
Yes, I've seen it ;) But then why does this PR work as it is? (That is, without the GIL) (FYI: I'll update the PR with GIL wrappers soon) |
encukou
commented
Jul 30, 2021
I assume it's because you're not using multiple threads. |
erlend-aasland
commented
Jul 30, 2021
Ah, right. Thanks! I've updated the PR. PTAL :) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
encukou
left a comment
There was a problem hiding this comment.
I found some more questionable uses of the GIL in existing code (see the issue). But let's not block this PR; it is an improvement.
erlend-aasland
commented
Aug 24, 2021
Thanks for reviewing! |
https://bugs.python.org/issue42064
Automerge-Triggered-By: GH:encukou