[New-bugs-announce] [issue32268] quopri.decode(): string argument expected, got 'bytes'
Alexey Luchko
report at bugs.python.org
Sun Dec 10 05:45:53 EST 2017
New submission from Alexey Luchko <soulne4ny at gmail.com>:
$ python3 -c 'import io, quopri; quopri.decode(io.StringIO("some initial text data"), io.StringIO())'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/quopri.py", line 125, in decode
output.write(odata)
TypeError: string argument expected, got 'bytes'
----------
components: Library (Lib)
messages: 307957
nosy: luch
priority: normal
severity: normal
status: open
title: quopri.decode(): string argument expected, got 'bytes'
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32268>
_______________________________________
More information about the New-bugs-announce
mailing list