Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Closed
Description
sqlite3.connect()
has a large number of parameters: 1 required and 7 optional. It is much more convenient to pass optional arguments by keyword, because you can pass only values which differs from default. And if you pass positional arguments, it is easy to make an error and pass value as wrong argument.
It is recommended to make optional rarely used arguments keyword-only. I do not think it will break much code, but we need a deprecation period for this.
The problem is thatsqlite3.connect()
was converted to Argument Clinic, and it was much easier to add deprecation warning in the old code.
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done