◐ Shell
clean mode source ↗

gh-95132: Correctly relay *args and **kwds from sqlite3.connect to factory by erlend-aasland · Pull Request #95146 · python/cpython

added 2 commits

July 22, 2022 19:56

@erlend-aasland

@erlend-aasland

serhiy-storchaka

serhiy-storchaka

serhiy-storchaka

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request

Jul 23, 2022
…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>

erlend-aasland pushed a commit that referenced this pull request

Jul 23, 2022
…t to factory (GH-95146) (#95158)

This PR partially reverts gh-24421 (PR) and fixes the remaining concerns
given in gh-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>