Georg Brandl added the comment:
The refs output is only active in debug mode, and only for debugging. It is
printed directly to stderr using C fprintf(), I don't think it's worth the
complication.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
New submission from Chris Jerdonek:
The --help documentation for the python executable says--
PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.
However, PYTHONIOENCODING doesn't seem to be respected for the python
executable's refs output to stderr. For example, this--
args