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-46541: Replace _Py_IDENTIFIER with _Py_ID in sqlite3 #31351
Conversation
Assuming we skip news, since this is an internal change only. |
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 |
OTOH, I'm totally fine with mainly using public APIs in the sqlite3 module. I'll rewrite it to use public APIs instead. |
BTW, thanks for working on this! |
Likewise :) |
PTAL. This should result in a small speedup compared to The Footnotes
|
Thanks for your review and thoughts, @corona10 & @ericsnowcurrently |
https://bugs.python.org/issue46541