[Python-checkins] cpython (2.7): Issue #28258: Explain the LC_ALL change in a comment

victor.stinner python-checkins at python.org
Thu Sep 29 16:38:23 EDT 2016


https://hg.python.org/cpython/rev/f256bd5b8418
changeset:   104167:f256bd5b8418
branch:      2.7
parent:      104160:f2247d1cb884
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Sep 29 22:33:02 2016 +0200
summary:
  Issue #28258: Explain the LC_ALL change in a comment

files:
  Makefile.pre.in |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1419,6 +1419,10 @@
 		Modules/ld_so_aix Modules/python.exp Misc/python.pc
 	-rm -f python*-gdb.py
 	-rm -f pybuilddir.txt
+	# Issue #28258: set LC_ALL to avoid issues with Estonian locale.
+	# Expansion is performed here by shell (spawned by make) itself before
+	# arguments are passed to find. So LC_ALL=C must be set as a separate
+	# command.
 	LC_ALL=C; find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
 				     -o -name '[@,#]*' -o -name '*.old' \
 				     -o -name '*.orig' -o -name '*.rej' \

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list