Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
bpo-42064: Convert sqlite3 global state to module state#29073
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
erlend-aasland commented Oct 19, 2021 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
encukou commented Oct 20, 2021
Nice! The finish line is near!
I suggest removing |
erlend-aasland commented Oct 20, 2021
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 |
encukou commented Oct 20, 2021
"an instance of the defining class" roughly means |
encukou commented Oct 20, 2021
(And any subclass will necessarily be defined in another module, so |
erlend-aasland commented Oct 20, 2021
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. |
erlend-aasland commented Oct 20, 2021 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Also, I'm fine with removing |
erlend-aasland commented Oct 22, 2021
PTAL, @encukou :) |
erlend-aasland commented Oct 26, 2021
FYI, I ran the sqlitesynth benchmark to see if this change introduces any performance regression:
|
encukou left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than this, the change looks good:
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot commented Oct 27, 2021 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
|
encukou commented Oct 27, 2021
The buildbot failed with signal 9 (SIGKILL), before it got to sqlite tests. Most likely unrelated. |
erlend-aasland commented Oct 27, 2021
Yes, I've concluded with it being unrelated. Looks like the buildbot was shut down or restarted. |
https://bugs.python.org/issue42064