Clarify sqlite3 documentation of PEP 249 compliance for commit modes #99828
Labels
docs
Documentation in the Doc dir
expert-sqlite3
pending
The issue will be closed if no feedback is provided


maggyero commentedNov 27, 2022
•
edited by bedevere-bot
Documentation
The
sqlite3documentation for the newConnection.autocommitattribute 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: