[issue8845] Expose sqlite3 connection inTransaction as read-only in_transaction attribute
R. David Murray
report at bugs.python.org
Fri May 28 22:23:47 CEST 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
@exarkun: yes, but since the module is already tracking that information, it seems silly to duplicate it in my code, especially since that duplication could include data-losing bugs.
@l0nwlf: its behaviour is in accord with the module documentation, which talks about the fact that issuing a create statement (for example) commits the current transaction. So in_transaction is an accurate representation of what sqlite3 is actually doing.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8845>
_______________________________________
More information about the Python-bugs-list
mailing list