Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-44859: Raise more accurate exceptions in sqlite3 #27695

Merged
merged 16 commits into from
Mar 17, 2022

Commits on Aug 9, 2021

  1. bpo-44859: Raise InterfaceError iso. ProgrammingError for SQLITE_MISUSE

    If SQLITE_MISUSE is raised, it is a sqlite3 module bug. Users of the
    sqlite3 module are not responsible of using the SQLite C API correctly.
    Erlend E. Aasland committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    0c8a88d View commit details
    Browse the repository at this point in the history
  2. Don't overwrite BufferErrors when converting to BLOB

    Erlend E. Aasland committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    aa755d2 View commit details
    Browse the repository at this point in the history
  3. Raise ProgrammingError if user tries to execute() more than one state…

    …ment
    Erlend E. Aasland committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    e51d6c1 View commit details
    Browse the repository at this point in the history
  4. Raise DataError if query contains null chars

    Erlend E. Aasland committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    452ce40 View commit details
    Browse the repository at this point in the history
  5. Add NEWS

    Erlend E. Aasland committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    f9a5dc6 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Merge branch 'main' into sqlite-errors

    Erlend E. Aasland committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    b08d507 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Merge branch 'main' into sqlite-errors

    Erlend E. Aasland committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    ddcab47 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2021

  1. Merge branch 'main' into sqlite-errors

    Erlend E. Aasland committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    6d5361c View commit details
    Browse the repository at this point in the history
  2. _pysqlite_set_result() MUST set an exception if it returns -1

    Failure to do so, will result in an assertion failure / segfault.
    Erlend E. Aasland committed Sep 20, 2021
    Configuration menu
    Copy the full SHA
    f2300bd View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Merge branch 'main' into sqlite-errors

    Erlend E. Aasland committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    84af2b9 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. Merge branch 'main' into sqlite-errors

    Erlend E. Aasland committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    d06b769 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2022

  1. Merge branch 'main' into sqlite-errors

    Erlend E. Aasland committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    8eb783e View commit details
    Browse the repository at this point in the history
  2. Adapt pythonGH-27642 tests

    Erlend E. Aasland committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    d3186be View commit details
    Browse the repository at this point in the history
  3. Address review: add tests for PyObject_GetBuffer failures

    Erlend E. Aasland committed Feb 26, 2022
    Configuration menu
    Copy the full SHA
    b4a95bd View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Address reviews

    Erlend E. Aasland committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    3792cf0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into sqlite-errors

    Erlend E. Aasland committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    99c9040 View commit details
    Browse the repository at this point in the history