bpo-42064: Pass module state to sqlite3 UDF callbacks
#27456
Conversation
|
A couple of questions, @encukou:
|
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) |
I assume it's because you're not using multiple threads. |
Ah, right. Thanks! I've updated the PR. PTAL :) |
|
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. |
9ed5231
into
python:main
|
Thanks for reviewing! |


https://bugs.python.org/issue42064
Automerge-Triggered-By: GH:encukou