| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Use the compile-time selected default SQLite threaded mode to set the DB-API 2.0 attribute 'threadsafety' Mappings: - SQLITE_THREADSAFE=0 => threadsafety=0 - SQLITE_THREADSAFE=1 => threadsafety=3 - SQLITE_THREADSAFE=2 => threadsafety=1
|
On hold till #29129 is merged. Will rebase and update docs before marking this as ready for review. |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 396abd4 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
|
Testing with buildbots to verify that this approach works across different SQLite versions/configurations. I've verified locally that it works with SQLite 3.7.15 (oldest supported), 3.36.0, and current 3.37.0 (dev). |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 686d70f 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was a problem hiding this comment.
I think the patch is good to go as-is, without the additional changes you mentioned in the comments. Thanks, Erlend.
Sorry, something went wrong.
Thanks! There is one change I'd like to make before merging, though: add a versionchanged annotation to the threadsafety attribute doc. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
@malemburg do you have anything else you would like here to be addressed?
Edit: ah, I just saw that you approved before. I am landing this then
Sorry, something went wrong.
|
Thanks, Marc-Andre & Pablo 🙏🏻 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Use the compile-time selected default SQLite threaded mode to set the
DB-API 2.0 attribute 'threadsafety' during sqlite3 module initialisation.
SQLite to DB-API mappings:
https://bugs.python.org/issue45613