summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-06-03 15:53:47 (GMT)
committerGitHub <noreply@github.com>2021-06-03 15:53:47 (GMT)
commit82ad22a97d4b5d7134424f12bd6a61167db7f4f8 (patch)
tree753b308bddf46e8b6ea4d468539a237601e8ece7 /Python/ceval.c
parent937cebc93b4922583218e0cbf0a9a14705a595b2 (diff)
downloadcpython-82ad22a97d4b5d7134424f12bd6a61167db7f4f8.zip
cpython-82ad22a97d4b5d7134424f12bd6a61167db7f4f8.tar.gz
cpython-82ad22a97d4b5d7134424f12bd6a61167db7f4f8.tar.bz2
bpo-42213: Check connection in sqlite3.Connection.__enter__ (GH-26512)
Try to harden connection close: - add tests that exercise stuff against a closed database - add wrapper for sqlite3_close_v2() - check connection on __enter__ - explicitly free pending statements before close() - sqlite3_close_v2() always returns SQLITE_OK
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions