bpo-42064: Move sqlite3 exceptions to global state, part 1 of 2#26745
bpo-42064: Move sqlite3 exceptions to global state, part 1 of 2#26745miss-islington merged 9 commits intopython:mainfrom
sqlite3 exceptions to global state, part 1 of 2#26745Conversation
|
@encukou Whenever you have time, would you mind reviewing this as well? I've split this operation in two; moving all exceptions was too large a diff. |
sqlite3 exceptions to global state, part 1sqlite3 exceptions to global state, part 1 of 2
|
Looks OK at first glance but I'll do a review next week (after 3.10 beta 3) |
3df4ccc to
4fe9d98
Compare
|
I just remembered that all the connection object keeps borrowed references to all the |
f36e9e6 to
c935f31
Compare
I see the connection type is created with |
encukou
left a comment
There was a problem hiding this comment.
The changes themselves look OK!
Yes, I've thought about this. I think updating them to strong references is a good idea. |
|
Thanks for reviewing, Petr! |
Also adds a test to verify the (borrowed) exceptions in
sqlite3.Connection.https://bugs.python.org/issue42064
Automerge-Triggered-By: GH:encukou