[issue45087] Confusing error message when trying split bytes.
Alex Zaslavskis
report at bugs.python.org
Thu Sep 2 17:40:01 EDT 2021
Alex Zaslavskis <sahsariga111 at gmail.com> added the comment:
Moreover according Python docs : This exception may be raised by user code to indicate that an attempted operation on an object is not supported. But also the Python interpreter gives that a bytes-like object is required, not 'str' that I am already passing , so it says that all fine. But the question is why then TypeError happens .
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45087>
_______________________________________
More information about the Python-bugs-list
mailing list