James Oldfield <[email protected]> added the comment:
If this ever gets implemented, "autocommit" would be a terrible name for it.
That word has a very specific meaning in SQLite, which is essentially the same
as "not in a transaction started with BEGIN ...". At the moment, if you want to
explicitly control when transactions start (a good idea considering how
confusing the current behaviour is) then you would set isolation_mode to None
and manually start a transaction with `execute("BEGIN")` - at which point you
are NOT in autocommit mode, until you commit or rollback. According to this
proposal, if I want manual control over transactions, I would set
`conn.autocommit = True`, even though I *don't* want autocommit mode (according
to SQLite's definition)!
----------
nosy: +james.oldfield
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39457>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com