This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PYTHONIOENCODING is not in manpage
Type: Stage:
Components: Documentation, IO Versions: Python 3.1, Python 2.7, Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: docs@python Nosy List: belopolsky, docs@python, pebbe
Priority: normal Keywords:

Created on 2011-01-14 10:27 by pebbe, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg126252 - (view) Author: Peter Kleiweg (pebbe) Date: 2011-01-14 10:27
The environment variable PYTHONIOENCODING should be documented in de manpage
msg126284 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2011-01-14 18:37
What "manpage" are you reporting?  In py3k branch,

$ groff -Tascii -man Misc/python.man
..

       PYTHONIOENCODING
              If this is set before running the interpreter, it overrides  the
              encoding  used  for stdin/stdout/stderr, in the syntax encoding-
              name:errorhandler The errorhandler part is optional and has  the
              same meaning as in str.encode. For stderr, the errorhandler
               part is ignored; the handler will always be 'backslashreplace'.
..

There is a missing period after the first sentence, but otherwise LGTM.

It is also documented in the reST manual and python -h help, 

http://docs.python.org/dev/using/cmdline.html#envvar-PYTHONIOENCODING
msg126285 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2011-01-14 18:41
On the second thought, maybe "de manpage" is not a misspelling of "the manpage", but a reference to a German locale manpage?  I don't think python.org releases include manpage translations.  You may need to report it to your system vendor.
msg126291 - (view) Author: Peter Kleiweg (pebbe) Date: 2011-01-14 19:23
Ah, I see it's fixed in the latest version.

The variable PYTHONIOENCODING was present at least since Python 2.6.4, but not documented in the manpage of versions 2.6.4, 2.7 and 3.1.1.
I thought I had recent versions, but I see now versions 2.7.1 and 3.1.3, and they both have the variable in the manpage.

I'm sorry for the inconveniance.
History
Date User Action Args
2022-04-11 14:57:11adminsetgithub: 55113
2011-01-14 19:23:20pebbesetstatus: open -> closed
versions: - Python 3.2, Python 3.3
nosy: belopolsky, pebbe, docs@python
messages: + msg126291

resolution: out of date
2011-01-14 18:41:37belopolskysetnosy: belopolsky, pebbe, docs@python
messages: + msg126285
2011-01-14 18:37:26belopolskysetnosy: + belopolsky
messages: + msg126284
2011-01-14 10:27:17pebbecreate