[issue16340] Decoding error in venv when byte-compiling stdlib

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Which file exactly causes the error? If it’s pydoc.py, it’s strange because the source is ASCII. Are you installing in a path with non-ASCII characters? -- nosy: +eric.araujo, vinay.sajip title: Error: 'utf-8' codec can't decode byte 0x9e in position 0:

[issue16340] Decoding error in venv when byte-compiling stdlib

2012-10-27 Thread Konstantin Zemlyak
Konstantin Zemlyak added the comment: If option to precompile python files is checked in installer, pydoc.py gets compiled into binary files Lib\venv\scripts\nt\__pycache__\pydoc.cpython33.pyc and Lib\venv\scripts\nt\__pycache__\pydoc.cpython33.pyo. --

[issue16340] Decoding error in venv when byte-compiling stdlib

2012-10-27 Thread Konstantin Zemlyak
Konstantin Zemlyak added the comment: Also current title is a bit wrong, since decoding error happens in runtime each time venv is invoked, while the source of the problem happens while byte-compiling stdlib at install time once. -- ___ Python