This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith, sahsariga111
Date 2021-09-02.22:16:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630620988.54.0.368996656661.issue45087@roundup.psfhosted.org>
In-reply-to
Content
You said: 
"""
b''.split(',') # gives strange error message.

TypeError: a bytes-like object is required, not 'str'
"""

It is not a strange error message. You passed in a str (the ','), and you should have passed in bytes.
History
Date User Action Args
2021-09-02 22:16:28eric.smithsetrecipients: + eric.smith, sahsariga111
2021-09-02 22:16:28eric.smithsetmessageid: <1630620988.54.0.368996656661.issue45087@roundup.psfhosted.org>
2021-09-02 22:16:28eric.smithlinkissue45087 messages
2021-09-02 22:16:28eric.smithcreate