Skip to content

sqlite3.connect parameter cached_statements default value is incorrect #97567

Description

@jiajunjie

Documentation

factory=sqlite3.Connection, cached_statements=128, \

Activity

  1. pochmann commented on Sep 26, 2022

    @pochmann
    Contributor

    Where is it defined as 100? (The PR changes that doc to say 100.)

  2. jiajunjie commented on Sep 27, 2022

    @jiajunjie
    ContributorAuthor

    Where is it defined as 100? (The PR changes that doc to say 100.)

    int cached_statements = 100;

  3. erlend-aasland commented on Sep 27, 2022

    @erlend-aasland
    Contributor

    Thanks. FYI, the default limit was changed from 100 to 128 early in the 3.11 alpha phase (IIRC). The doc inconsistency pointed out stems from the backport of gh-94629.

  4. moved this to In Progress in sqlite3 issueson Sep 27, 2022
  5. added a commit that references this issue on Sep 27, 2022
  6. changed the title [-]cached_statements default value is incorrect[/-] [+]sqlite3.connect parameter `cached_statements` default value is incorrect[/+] on Sep 27, 2022
  7. Repository owner moved this from In Progress to Done in sqlite3 issueson Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions