[issue24967] add errors='ignore' to print kwargs
Serhiy Storchaka
report at bugs.python.org
Mon Aug 31 11:10:05 CEST 2015
Serhiy Storchaka added the comment:
print() doesn't encode characters. It just writes string representation of arguments to output text file (sys.stdout by default). It is the output file is responsible for encoding (or is not, if it saves or passes further a text directly, as StringIO).
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24967>
_______________________________________
More information about the Python-bugs-list
mailing list