You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't really a bug. It's just that in Python 3 text and bytes are not compatible with each others at all. In Python 2 you can mix and match to some extend, but if bytes contain non-ASCII characters you get an exception. With request, you should use response.text if the content is text both in Python 2 and 3.
It works in python2
but in python3:
The text was updated successfully, but these errors were encountered: