]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93829: In sqlite3, replace Py_BuildValue with faster APIs (#93830)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Wed, 15 Jun 2022 08:42:49 +0000 (10:42 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 08:42:49 +0000 (10:42 +0200)
commit4e9fa71d7e8e2f322f0b81b315ddc921f57384c0
tree3fbc3aad44e36972ba2995b5b15421dd20d65da0
parentcdd39843073fc27b8e4a887d5d3b7992cb2ced60
gh-93829: In sqlite3, replace Py_BuildValue with faster APIs (#93830)

- In Modules/_sqlite/connection.c, use PyLong_FromLong
- In Modules/_sqlite/microprotocols.c, use PyTuple_Pack
Modules/_sqlite/connection.c
Modules/_sqlite/microprotocols.c