Clarify sqlite3 documentation of PEP 249 compliance for commit modes #99828
Labels
docs
Documentation in the Doc dir
pending
The issue will be closed if no feedback is provided
topic-sqlite3
Documentation
The
sqlite3
documentation for the newConnection.autocommit
attribute introduced in PR #93823 states:The sentence ‘This attribute controls :pep:
249
-compliant transaction behaviour.’ is misleading as only the new manual commit mode (autocommit=False
) is PEP-249-compliant, since PEP 249 specifies only the manual commit mode.Likewise, the sentence ‘Pre-Python 3.12 (non-:pep:
249
-compliant) transaction control.’ is misleading as only the legacy manual commit mode (isolation_level='DEFERRED'
,isolation_level='EXCLUSIVE'
, orisolation_level='IMMEDIATE'
) is non-PEP-249-compliant, since PEP 249 specifies only the manual commit mode.Linked PRs
The text was updated successfully, but these errors were encountered: