[DB-SIG] Adding Connection.autocommit as standard extension to DB-API 2.0 (PEP 249)

Erlend Egeberg Aasland erlenda at gmail.com
Mon Nov 7 09:42:44 EST 2022


> On 3 Nov 2022, at 20:51, Marc-Andre Lemburg <mal at egenix.com> wrote:
> 
> I think we've already settled on option 3, with the added note that many database modules implement option 2. [...]

Fine with me.

> Writing to the attribute will be deprecated at the same time as documenting it, so that we can prepare for DB-API 3.0 using a method instead. [...]

For the upcoming sqlite3 autocommit attribute, I'll keep the PR as it is (that is: implement option 2).
I'll deprecate writing to the autocommit attribute after the initial feature PR is merged.



Erlend


More information about the DB-SIG mailing list