[Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING

Oleg Broytmann phd at phd.pp.ru
Tue May 20 22:43:13 CEST 2008


On Tue, May 20, 2008 at 10:22:03PM +0200, "Martin v. L?wis" wrote:
> >    PYTHONIOENCODING?
> 
> Unprecise in a different way (as it is meant to apply only to stdout,
> not to all IO), but shorter.

   I don't think you can make it both precise and short. If you want to be
precise and have both PYTHON and STDOUT - shorten ENCODING to ENC. If you
agree to sacrifice PYTHON - make it PYSTDOUTENCODING.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list