[issue10740] sqlite3 module breaks transactions and potentially corrupts data

Jim Jewett report at bugs.python.org
Fri Jun 13 23:00:16 CEST 2014


Jim Jewett added the comment:

Removing the existing behavior will almost certainly not be accepted, because of backwards compatibility.

Adding new functionality is generally acceptable.

Doing that through a new keyword that defaults to the old behavior is fairly common, and generally better than an apparently redundant function.  But in this particular case, that makes the new signature and documentation such a mess that I believe a separate function would be the lesser of evils.  (And that only if it is clear what the problems with the current situation are.  e.g., do the problems only trigger when using the database from too many threads, or is a random network delay enough to trigger problems?)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10740>
_______________________________________


More information about the Python-bugs-list mailing list