-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
fix some python3 incompatibilities #46044
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
kennytm
left a comment
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. Just some nits.
src/libstd_unicode/unicode.py
Outdated
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.
Maybe refactor this to?
if any(lo <= char <= hi for lo, hi in comp_exclusions):
continue
src/libstd_unicode/unicode.py
Outdated
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.
Will we ever get non-integer from the source code? All the int() calls could be dropped in not.
|
Hah. Good points. Fixed both. |
|
Thanks! @bors r+ rollup |
|
📌 Commit 261d4d8 has been approved by |
fix some python3 incompatibilities
No description provided.