diff options
| author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-11-03 21:01:37 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-03 21:01:37 (GMT) |
| commit | c2739867113a2b650db300c03ef06cf18dcee3f4 (patch) | |
| tree | 859f757fe8859147d1efa51a86207771968c5a27 /Python/pythonrun.c | |
| parent | 762173c6709f5cf3b59cbbe47d4e6fafbfe7ec2a (diff) | |
| download | cpython-c2739867113a2b650db300c03ef06cf18dcee3f4.zip cpython-c2739867113a2b650db300c03ef06cf18dcee3f4.tar.gz cpython-c2739867113a2b650db300c03ef06cf18dcee3f4.tar.bz2 | |
bpo-45613: Set `sqlite3.threadsafety` dynamically (GH-29227)
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
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
