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

Reply via email to