]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42213: Remove redundant cyclic GC hack in sqlite3 (GH-26517)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Thu, 3 Jun 2021 16:38:19 +0000 (18:38 +0200)
committerGitHub <noreply@github.com>
Thu, 3 Jun 2021 16:38:19 +0000 (09:38 -0700)
commitd88b47b5a396aa8d66f9a0e6b13a0825d59d0eff
treed932a399ff6b69078f5a0bf5874b4e7e438a6b69
parent2c1e2583fdc4db6b43d163239ea42b0e8394171f
bpo-42213: Remove redundant cyclic GC hack in sqlite3 (GH-26517)

The sqlite3 module now fully implements the GC protocol, so there's no
need for this workaround anymore.

- Add and use managed resource helper for connections using TESTFN
- Sort test imports
- Split open-tests into their own test case

Automerge-Triggered-By: GH:vstinner
Lib/sqlite3/test/dbapi.py
Lib/sqlite3/test/hooks.py
Modules/_sqlite/cache.c
Modules/_sqlite/cache.h
Modules/_sqlite/connection.c