bpo-42064: Move sqlite3 exceptions to global state, part 1 of 2
#26745
Conversation
|
@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
|
I just remembered that all the connection object keeps borrowed references to all the |
f36e9e6
to
c935f31
I see the connection type is created with |
|
The changes themselves look OK! |
a50e283
into
python:main
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