autocommit attribute for SQLite in Python 3.12
In Python 3.12 the sqlite3 module will have an autocommit
parameter (like most of the other DB-API library).
There are plan to deprecate isolation_level
attribute. So it will be better to use autocommit
when available.
See https://github.com/python/cpython/commit/c95f554a408f76f96c14c006ebe8a0d3d3b40765.