[Python-checkins] r85436 - python/branches/py3k/Misc/python.man

benjamin.peterson python-checkins at python.org
Thu Oct 14 00:20:16 CEST 2010


Author: benjamin.peterson
Date: Thu Oct 14 00:20:15 2010
New Revision: 85436

Log:
put PYTHONIOENCODING in man page

Modified:
   python/branches/py3k/Misc/python.man

Modified: python/branches/py3k/Misc/python.man
==============================================================================
--- python/branches/py3k/Misc/python.man	(original)
+++ python/branches/py3k/Misc/python.man	Thu Oct 14 00:20:15 2010
@@ -384,9 +384,18 @@
 .IP PYTHONINSPECT
 If this is set to a non-empty string it is equivalent to specifying
 the \fB\-i\fP option.
+.IP PYTHONIOENCODING
+If this is set before running the interpreter, it overrides the encoding used
+for stdin/stdout/stderr, in the syntax
+.IB encodingname ":" errorhandler
+The
+.IB errorhandler
+part is optional and has the same meaning as in str.encode. For stderr, the
+.IB errorhandler
+ part is ignored; the handler will always be \'backslashreplace\'.
 .IP PYTHONNOUSERSITE
-If this is set to a non-empty string it is equivalent to specifying
-the \fB\-s\fP option (Don't add the user site directory to sys.path).
+If this is set to a non-empty string it is equivalent to specifying the
+\fB\-s\fP option (Don't add the user site directory to sys.path).
 .IP PYTHONUNBUFFERED
 If this is set to a non-empty string it is equivalent to specifying
 the \fB\-u\fP option.


More information about the Python-checkins mailing list