-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
str.cat not working with binary data on Python3 #22721
Comments
Not sure I agree here at the |
yeah this is correct |
The example is out of Beyond that, it's IMO the I guess the better place to have this discussion is #22725, because the implementation would have to be adapted to restore the current test behaviour. |
Superseded by #23011 |
In Python 2, the following works:
whereas in Python 3,
s.str.cat(t)
yields:Clearly, Python 3 fundamentally changed the separation between bytes and strings, but in principle, there is no reason (other than implementation) why this should not have the same result in Python 3 as in Python 2.
The text was updated successfully, but these errors were encountered: