Message384501
I think this issue just discusses the naming of an attribute called ".autocommit". for the discussion for SQLite's unusual starting of transactions, that's all in two other issues:
https://bugs.python.org/issue9924
https://bugs.python.org/issue10740
so I would encourage folks to read those discussions. at issue is the limitation of SQLite that it locks the whole file for transactions, which is the main rationale for why SQLite is hesitant to begin a transaction. however, without configurability, this means it's not compatible with SAVEPOINT or serializable isolation levels. when users want to use those two features we have them set isolation_level=None and emit "BEGIN" on the connection directly. the connection.commit() and connection.rollback() methods continue to be functional |
|
Date |
User |
Action |
Args |
2021-01-06 13:21:56 | zzzeek | set | recipients:
+ zzzeek, lemburg, ghaering, r.david.murray, maggyero, erlendaasland, james.oldfield |
2021-01-06 13:21:56 | zzzeek | set | messageid: <1609939316.62.0.16408128795.issue39457@roundup.psfhosted.org> |
2021-01-06 13:21:56 | zzzeek | link | issue39457 messages |
2021-01-06 13:21:56 | zzzeek | create | |
|