New submission from Lukáš Němec:
Please add errors='...' to print's kwargs and pass it to codecs that are called
from print. Sometimes you have undecodable/unencodable characters that you want
to remove from the printed text.
Now you need to call 'mytext'.encode('enc', errors='replace').decode('enc') to
achieve the same result. This would be just a shortcut.
Thank you :)
----------
messages: 249389
nosy: Lukáš.Němec
priority: normal
severity: normal
status: open
title: add errors='ignore' to print kwargs
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24967>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com