This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: sqlite3 documentation omits: close(), commit(), autocommit
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ghaering Nosy List: ghaering, kitbyaydemir
Priority: normal Keywords:

Created on 2006-12-31 04:34 by kitbyaydemir, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg30884 - (view) Author: kitbyaydemir (kitbyaydemir) Date: 2006-12-31 04:34
The Python 2.5 Library documentation (HTML format), Section 13.13 (sqlite3) fails to mention several important methods of Connection objects.  Specifically, the close() and commit() methods.  Considering that autocommit mode is not the default, I'm not sure how a user is supposed to figure out that they need to call these methods to ensure that changes are reflected on disk.  (The only reason I discovered these was from http://initd.org/tracker/pysqlite/wiki/basicintro .)

Furthermore, Section 13.13.5 mentions the existence of "autocommit mode", but fails to describe what that mode is and why it might be useful.
msg64669 - (view) Author: Gerhard Häring (ghaering) * (Python committer) Date: 2008-03-29 01:33
Fixed in r62026. Thanks for bringing this up.
History
Date User Action Args
2022-04-11 14:56:21adminsetgithub: 44388
2008-03-29 01:33:37ghaeringsetstatus: open -> closed
resolution: fixed
messages: + msg64669
2006-12-31 04:34:19kitbyaydemircreate