-
Notifications
You must be signed in to change notification settings - Fork 51
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
change uses of StringIO #22
Comments
Again, I think we should (at least by default) avoid trying to guess what the user wants. We've got a number of places in IPython where we use |
I just ran into this myself and the solution should depend on whether |
I don't think that's quite right:
|
Farther along in my Pylint port and I have run into the issues that has led to IPython keeping [c]StringIO.StringIO around. Unfortunately this is one of those places where the Python 2 API was so lenient it doesn't translate well to a str/bytes dichotomy. |
If we add an option, say |
there's since been a |
E.g.
[c]StringIO.StringIO
should be changed tosix.BytesIO
.(moved from mitsuhiko/python-modernize#17 )
The text was updated successfully, but these errors were encountered: