bpo-46541: Replace _Py_IDENTIFIER with _Py_ID in sqlite3#31351
Conversation
|
Assuming we skip news, since this is an internal change only. |
Sorry, something went wrong.
3a66af2 to
339d1f7
Compare
February 15, 2022 09:45
|
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 |
Sorry, something went wrong.
It's fully possible to build any stdlib extension as a built-in, even sqlite3.
Most users will call |
Sorry, something went wrong.
OTOH, I'm totally fine with mainly using public APIs in the sqlite3 module. I'll rewrite it to use public APIs instead. |
Sorry, something went wrong.
|
BTW, thanks for working on this! |
Sorry, something went wrong.
Likewise :) |
Sorry, something went wrong.
|
PTAL. This should result in a small speedup compared to The Footnotes
|
Sorry, something went wrong.
corona10
left a comment
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
|
Thanks for your review and thoughts, @corona10 & @ericsnowcurrently |
Sorry, something went wrong.
https://bugs.python.org/issue46541