-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
bpo-46541: Replace _Py_IDENTIFIER with _Py_ID in sqlite3 #31351
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
Conversation
Assuming we skip news, since this is an internal change only. |
3a66af2
to
339d1f7
Compare
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
|
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.
lgtm
Thanks for your review and thoughts, @corona10 & @ericsnowcurrently |
https://bugs.python.org/issue46541