Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bpo-40956: Convert sqlite3.connect and sqlite3.Connection.__init__ to AC #24421

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

Merged
merged 17 commits into from
Jun 20, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Resolve conflict: cached_statements now defaults to 128, not 100
  • Loading branch information
Erlend E. Aasland committed Jun 13, 2021
commit 754fdc6fc4971df09e7f36aaa33f06fee04d089d
2 changes: 1 addition & 1 deletion Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ _sqlite3.Connection.__init__ as pysqlite_connection_init
isolation_level: object = NULL
check_same_thread: bool(accept={int}) = True
factory: object(c_default='(PyObject*)pysqlite_ConnectionType') = ConnectionType
cached_statements: int = 100
cached_statements: int = 128
uri: bool = False
[clinic start generated code]*/

Expand Down
2 changes: 1 addition & 1 deletion Modules/_sqlite/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ _sqlite3.connect as pysqlite_connect
isolation_level: object = NULL
check_same_thread: bool(accept={int}) = True
factory: object(c_default='(PyObject*)pysqlite_ConnectionType') = ConnectionType
cached_statements: int = 100
cached_statements: int = 128
uri: bool = False

Opens a connection to the SQLite database file database.
Expand Down