-
- Downloads
[3.11] gh-95132: Correctly relay *args and **kwds from sqlite3.connect to...
[3.11] gh-95132: Correctly relay *args and **kwds from sqlite3.connect 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 a3d4d15f) Co-authored-by:
Erlend Egeberg Aasland <erlend.aasland@innova.no>
Showing
- Lib/test/test_sqlite3/test_factory.py 20 additions, 0 deletionsLib/test/test_sqlite3/test_factory.py
- Misc/NEWS.d/next/Library/2022-07-22-21-18-17.gh-issue-95132.n9anlw.rst 4 additions, 0 deletions...ext/Library/2022-07-22-21-18-17.gh-issue-95132.n9anlw.rst
- Modules/_sqlite/clinic/module.c.h 1 addition, 111 deletionsModules/_sqlite/clinic/module.c.h
- Modules/_sqlite/connection.c 1 addition, 0 deletionsModules/_sqlite/connection.c
- Modules/_sqlite/module.c 33 additions, 36 deletionsModules/_sqlite/module.c
Loading
Please register or sign in to comment