[issue41924] TextWrap's wrap method throws unhelpful error on bytes object

ThePokestarFan report at bugs.python.org
Sat Oct 3 20:54:49 EDT 2020


New submission from ThePokestarFan <sarkaraoyan at gmail.com>:

The wrap() method of the TextWrapper class (and the module-level wrap method) throws an unhelpful TypeError upon getting a bytes object.

----------
components: Library (Lib)
files: traceback.txt
messages: 377910
nosy: ThePokestarFan
priority: normal
severity: normal
status: open
title: TextWrap's wrap method throws unhelpful error on bytes object
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file49489/traceback.txt

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41924>
_______________________________________


More information about the Python-bugs-list mailing list