[issue6166] encoding error for 'setup.py --author' when read via subprocess pipe

2010-11-25 Thread Éric Araujo
Éric Araujo added the comment: I agree with Tarek this is not a bug, and there is a workaround, so I’m closing this. -- resolution: -> works for me stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue6166] encoding error for 'setup.py --author' when read via subprocess pipe

2010-11-22 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: "PYTHONIOENCODING=UTF-8 python test2.py" does work. -- ___ Python tracker ___ ___ Python-bugs-li

[issue6166] encoding error for 'setup.py --author' when read via subprocess pipe

2010-11-17 Thread Éric Araujo
Éric Araujo added the comment: Sridhar, can you test with the envvar PYTHONIOENCODING set to UTF-8? -- nosy: +eric.araujo versions: +Python 2.7 -Python 2.6 ___ Python tracker ___

[issue6166] encoding error for 'setup.py --author' when read via subprocess pipe

2009-06-01 Thread Tarek Ziadé
Tarek Ziadé added the comment: This is not a bug in distutils, but how print works when executed through subprocess. here's a demo: Create a file called "test.py" with: # -*- coding: utf8 -*- print u'' Now another one called "test2.py" with: import subprocess subprocess.Popen(

[issue6166] encoding error for 'setup.py --author' when read via subprocess pipe

2009-06-01 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : I ran 'python setup.py --author' for the pypi package "ll-orasql-0.6" (whose author name has non-ascii characters) under subprocess.Popen and this is what I get: Traceback (most recent call last): File "/home/sridharr/as/pypm/bin/python", line 39, in