Re: Adding Connection.autocommit as standard extension to DB-API 2.0 (PEP 249)

Erlend Egeberg Aasland <[email protected]> Mon, 7 Nov 2022 15:42:44 +0100
Newsgroups gmane.comp.python.db
Message-ID <[email protected]>
> On 3 Nov 2022, at 20:51, Marc-Andre Lemburg <[email protected]> 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
_______________________________________________
DB-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/db-sig