classification
Title: Missing documentation for sqlite3.OperationalError
Type: enhancement Stage: needs patch
Components: Documentation Versions: Python 3.7, Python 3.6, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Leonardo Taglialegne, berker.peksag, docs@python
Priority: normal Keywords:

Created on 2017-09-07 08:14 by Leonardo Taglialegne, last changed 2017-09-07 08:44 by berker.peksag.

Messages (2)
msg301575 - (view) Author: Leonardo Taglialegne (Leonardo Taglialegne) Date: 2017-09-07 08:14
sqlite3.OperationalError has no documentation whatsoever in docs.python.org
msg301577 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2017-09-07 08:44
Thank you for the report. I think we can add a simplified version of the OperationalError documentation in PEP 249:

    Exception raised for errors that are related to the database's
    operation and not necessarily under the control of the programmer,
    e.g. an unexpected disconnect occurs, the data source name is not
    found, a transaction could not be processed, a memory allocation
    error occurred during processing, etc. It must be a subclass of
    DatabaseError.

Reference: https://www.python.org/dev/peps/pep-0249/#operationalerror
History
Date User Action Args
2017-09-07 08:44:37berker.peksagsetversions: - Python 3.3, Python 3.4, Python 3.5
nosy: + berker.peksag

messages: + msg301577

stage: needs patch
2017-09-07 08:14:59Leonardo Taglialegnecreate