Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-42213: Remove redundant cyclic GC hack in sqlite3 #26517

Merged

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jun 3, 2021

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

https://bugs.python.org/issue42213

Automerge-Triggered-By: GH:vstinner

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 with fs io
- Sort test imports
- Split open-tests into their own test case
@erlend-aasland
Copy link
Contributor Author

erlend-aasland commented Jun 3, 2021

Ref. #26462 (comment)

Copy link
Member

@vstinner vstinner left a comment

LGTM.

@vstinner vstinner added the 🤖 automerge PR will be merged once it's been approved and all CI passed label Jun 3, 2021
@vstinner
Copy link
Member

vstinner commented Jun 3, 2021

@erlend-aasland: Don't touch anything, try the automerge label: it should merge the PR as soon as the CI pass.

@miss-islington
Copy link
Contributor

miss-islington commented Jun 3, 2021

@erlend-aasland: Status check is done, and it's a success .

@miss-islington miss-islington merged commit d88b47b into python:main Jun 3, 2021
11 checks passed
@erlend-aasland erlend-aasland deleted the sqlite-remove-gc-cache-hack branch Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 automerge PR will be merged once it's been approved and all CI passed skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants