bpo-42064: Move `sqlite3` exceptions to global state, part 2 of 2 by erlend-aasland · Pull Request #26884 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@erlend-aasland

Copy link Copy Markdown

Contributor

@erlend-aasland erlend-aasland commented

Jun 23, 2021

edited by miss-islington

Loading

https://bugs.python.org/issue42064

Automerge-Triggered-By: GH:encukou

@erlend-aasland

Copy link Copy Markdown

Contributor Author

FYI, for check_cursor and pysqlite_check_connection, we cannot rely on the connection context exception pointers (at least not for the early sanity checks), so I'm using the global state in those methods.

@erlend-aasland

Copy link Copy Markdown

Contributor Author

(Re-opening to trigger CI again)

@erlend-aasland

Copy link Copy Markdown

Contributor Author

cc. @encukou

Erlend E. Aasland added 2 commits

July 13, 2021 23:10
Copy link Copy Markdown

Member

@encukou encukou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

erlend-aasland reacted with hooray emoji

@erlend-aasland

Copy link Copy Markdown

Contributor Author

Looks good, thanks!

Thanks for reviewing!

@erlend-aasland erlend-aasland deleted the sqlite-move-err/2 branch

July 14, 2021 11:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@encukou encukou encukou approved these changes

@berkerpeksag berkerpeksag Awaiting requested review from berkerpeksag berkerpeksag is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@erlend-aasland @encukou @the-knights-who-say-ni @bedevere-bot @miss-islington