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-42064: Convert sqlite3
global state to module state
#29073
Conversation
Nice! The finish line is near!
I suggest removing |
Yes, it's been a long journey, but I've learned a thing or two while getting here :)
Hm, I was under the impression that the left operand was guaranteed to be an instance of the defining class: https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_richcompare |
"an instance of the defining class" roughly means |
(And any subclass will necessarily be defined in another module, so |
Yep, I know :) I'm not sure where I got the misconception regarding rich compare from, but that does not matter; I'll fix it right away. |
Also, I'm fine with removing |
…get_state_by_type
PTAL, @encukou :) |
FYI, I ran the sqlitesynth benchmark to see if this change introduces any performance regression:
|
|
The buildbot failed with signal 9 (SIGKILL), before it got to sqlite tests. Most likely unrelated. |
Yes, I've concluded with it being unrelated. Looks like the buildbot was shut down or restarted. |
https://bugs.python.org/issue42064