Alex Zaslavskis <sahsariga...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45087>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to