◐ Shell
clean mode source ↗

[3.11] gh-95132: Correctly relay *args and **kwds from sqlite3.connect to factory (GH-95146) by erlend-aasland · Pull Request #95158 · python/cpython

…connect to factory (pythonGH-95146)

This PR partially reverts pythongh-24421 (PR) and fixes the remaining concerns
given in pythongh-93044 (issue):

- keyword arguments are passed as positional arguments to factory()
- if an argument is not passed to sqlite3.connect(), its default value
  is passed to factory()

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>.
(cherry picked from commit a3d4d15)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

This was referenced

Jul 23, 2022