New submission from Armin Rigo:
``python3.5 --help`` gives this information:
-u : unbuffered binary stdout and stderr, stdin always buffered
However, stdout and stderr are actually always opened in text mode, and print()
always expects a string and never a bytes object. This usage of "binary" in
the --help is in contradiction with the usage of "binary" in the description of
files (e.g. ``help(open)``).
----------
components: Interpreter Core
messages: 280390
nosy: arigo
priority: normal
severity: normal
status: open
title: python --help: -u is misdocumented as binary mode
versions: Python 3.5
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28647>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com