Uh oh!
There was an error while loading. Please reload this page.
bpo-46541: Replace _Py_IDENTIFIER with _Py_ID in sqlite3 - #31351
Conversation
erlend-aasland
commented
Feb 15, 2022
Assuming we skip news, since this is an internal change only. |
3a66af2 to
339d1f7Compareericsnowcurrently
commented
Feb 15, 2022
The main reason I didn't do this earlier is because our (non-builtin) extension modules probably shouldn't be relying on internal API. Instead we should try to use only public API (and sometimes "private", AKA public API with a leading underscore). How bad would it be to replace uses of |
It's fully possible to build any stdlib extension as a built-in, even sqlite3.
Most users will call |
erlend-aasland
commented
Feb 15, 2022
OTOH, I'm totally fine with mainly using public APIs in the sqlite3 module. I'll rewrite it to use public APIs instead. |
ericsnowcurrently
commented
Feb 15, 2022
BTW, thanks for working on this! |
erlend-aasland
commented
Feb 15, 2022
Likewise :) |
PTAL. This should result in a small speedup compared to The Footnotes
|
erlend-aasland
commented
Feb 16, 2022
Thanks for your review and thoughts, @corona10 & @ericsnowcurrently |
https://bugs.python.org/issue46541