cpython/Modules/_sqlite
Erlend E. Aasland 0c21298f2b
[3.12] gh-108083: Don't ignore exceptions in sqlite3.Connection.__init__() and .close() (#108084) (#108141)
- Add explanatory comments
- Add return value to connection_close() for propagating errors
- Always check the return value of connection_exec_stmt()
- Assert pre/post state in remove_callbacks()
- Don't log unraisable exceptions in case of interpreter shutdown
- Make sure we're not initialized if reinit fails
- Try to close the database even if ROLLBACK fails

(cherry picked from commit fd19509220)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-08-20 01:07:41 +02:00
..
clinic
blob.c
blob.h
connection.c
connection.h
cursor.c
cursor.h
microprotocols.c
microprotocols.h
module.c
module.h
prepare_protocol.c
prepare_protocol.h
row.c
row.h
statement.c
statement.h
util.c
util.h