-
- Notifications
You must be signed in to change notification settings - Fork 19.3k
CLN: use unicode literals instead of compat.u #24026
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
| Travis fail is pickle-plot that appears to be hitting everything right now |
| circle failure is Hypothesis |
Codecov Report
@@ Coverage Diff @@ ## master #24026 +/- ## ========================================== - Coverage 42.46% 42.46% -0.01% ========================================== Files 161 161 Lines 51557 51555 -2 ========================================== - Hits 21892 21891 -1 + Misses 29665 29664 -1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@ ## master #24026 +/- ## ========================================== - Coverage 92.21% 92.21% -0.01% ========================================== Files 161 161 Lines 51684 51683 -1 ========================================== - Hits 47658 47657 -1 Misses 4026 4026
Continue to review full report at Codecov.
|
gfyoung 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.
Huh...that's a good catch! Maybe we can rid of it entirely perhaps later?
There's plenty of cases left with |
| so the reason we have this is to provide a uniform way to do this across py2 and py3. you don't then have to worry about whether you are quoting unicode or not and just use |
Not especially. Just see cleanup opportunities when browsing through modules, figure being aggressive about them is better than the alternative.
I'm guessing this got put in place before unicode literals got added back into py3. since there is a built-in way of doing this, that should be preferred over a home-built solution. |
was this in 3.4? (e.g. this function was certainly done quite a long time ago). |
| Rebased. This is pretty low-priority, should either merge or close. |
| let's close for now. |
This gets most of the non-test usages