[issue45087] Confusing error message when trying split bytes.
Alex Zaslavskis
report at bugs.python.org
Thu Sep 2 17:30:37 EDT 2021
Alex Zaslavskis <sahsariga111 at gmail.com> added the comment:
I am not really sure that it is working as it should be. Even with your example it gives :
TypeError: a bytes-like object is required, not 'str'
The problem is why error message says that bytes-like is required , when the string is required.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45087>
_______________________________________
More information about the Python-bugs-list
mailing list