On 6 Apr 2017, at 11:55pm, David Raymond <david.raym...@tomtom.com> wrote:

> For the sqlite3 module connection object: on a bad exit from an exception it 
> will do a rollback, on a clean exit it will do a commit, and run .close() 
> either way.

Thanks for the answer about open() scope.  Your addition is interesting.  
Someone who learned to use SQLite (or even normal file handling) from Python 
might not realise how useful their language was being for them.  If they 
transferred to a different language they might not realise they had to close 
their files.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to