-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
Remove references to Unicode objects being ready #130790
Comments
If it's just a few lines in each C file, a single PR would be more convenient. |
@picnixz Do you plan to work on this, or can I take it? |
I was planning to do it tomorrow, but feel free to take it. It's just that I don't know if we need to split into multiple PRs or in one. I haven't looked at the code exactly to see whether we can safely remove the comment/code so there might be some conditions that still need to be checked. |
@picnixz I allowed a little bit more to myself and updated the comments to public API. Is this ok? |
Triage: looks like all done here? Please re-open if needed. |
We have some code referrencing readiness of Unicode objects but this property is deprecated (see #129894 (comment)). Following @encukou's advice, we should address each module with a separate PR so that experts can review them separately.
unicodedata.c
cpython/Modules/unicodedata.c
Lines 594 to 596 in a85eeb9
cpython/Modules/unicodedata.c
Lines 655 to 661 in a85eeb9
_io/textio.c
cpython/Modules/_io/textio.c
Lines 357 to 363 in a85eeb9
cpython/Modules/_io/textio.c
Lines 1821 to 1824 in a85eeb9
Parser
filescpython/Parser/lexer/lexer.c
Lines 311 to 315 in a85eeb9
cpython/Parser/pegen.c
Lines 505 to 513 in a85eeb9
tracemalloc.c
cpython/Python/tracemalloc.c
Lines 252 to 259 in a85eeb9
This one seems to be dead code (cc @vstinner)
Linked PRs
The text was updated successfully, but these errors were encountered: