-
-
Notifications
You must be signed in to change notification settings - Fork 453
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 unicode string indicatiors #1161
Conversation
A commit like my recent commit is going to break programs that rely on the given behavior of unicode escaping. Should I build in a method to do it or just note that they need to escape on their own? |
Here is a git patch (compressed as a gzip to support uploading) to get the python util that I was using to find the changes and approve them. |
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.
I think we can delete the one assertion, otherwise, this change looks great.
…an/praw into remove-unicode-strings Needed to merge origin and local
As this is a breaking change I'm going to hold off on merging it for now until after our next minor release. It would be great to make a PR that only has deprecation changelog entry indicating that in the next release we'll change this behavior. |
@bboe got it but you are always welcome of making PRs onto my branches as well :) |
For sure. Unfortunately, I really only have time to review, and I'm barely keeping up at that ;). |
Lol I have break and I'm an HS student so I got all the time on my hands :) |
While writing stubs, I was looking through the code and realized there is still a lot of Python2 compliant code. This was a simple fix to remove unicode prefixes on a bunch of items. However, several things still do a whole bunch of weird things to deal with unicode. An example is the Praw API Exception, which escapes unicode characters. In Python3, this should not be done, and I will implement a fix for that later.