Issue 9887: distutil's build_scripts doesn't read utf-8 in all locales (original) (raw)

Created on 2010-09-17 13:19 by hagen, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg116660 - (view) Author: Hagen Fürstenau (hagen) Date: 2010-09-17 13:19
"LANG=C python3 setup.py build_scripts" chokes on UTF-8 encoded scripts. The problem is that "copy_scripts" uses "open" without specifying an encoding. This issue may be related to #9561.
msg116991 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-09-20 22:21
Does POSIX mandate an encoding when using the C locale?
msg117032 - (view) Author: Hagen Fürstenau (hagen) Date: 2010-09-21 06:51
Why does this matter? PEP 3120 specifies UTF-8 as the default source encoding.
msg117044 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-09-21 10:33
Okay. Then this bug is part of #9561.
History
Date User Action Args
2022-04-11 14:57:06 admin set github: 54096
2010-09-21 10:33:34 eric.araujo set status: open -> closedsuperseder: distutils: set encoding to utf-8 for input and output filescomponents: + Distutils2versions: + Python 2.7, Python 3.2nosy:tarek, eric.araujo, hagenmessages: + resolution: duplicatestage: resolved
2010-09-21 06:51:20 hagen set messages: +
2010-09-20 22:21:28 eric.araujo set messages: +
2010-09-17 13:19:51 hagen create