[issue28258] Broken python-config generated with Estonian locale

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Fri Sep 23 10:30:40 EDT 2016


Arfrever Frehtes Taifersar Arahesis added the comment:

I get "500 Server Error" page when trying to write response in Rietveld, so I will write here...

On 2016/09/23 16:00:58, storchaka wrote:
> https://bugs.python.org/review/28258/diff/18650/Makefile.pre.in
> File Makefile.pre.in (right):
> 
> https://bugs.python.org/review/28258/diff/18650/Makefile.pre.in#newcode1633
> Makefile.pre.in:1633: LC_ALL=C; find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o
> -name '*~' \
> Does it work with ";"?

Yes.
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.

$ export LC_ALL=et_EE.UTF-8
$ mkdir -p /tmp/test/{a,t,z}
$ find /tmp/test/[a-zA-Z]*
/tmp/test/a
/tmp/test/z
$ LC_ALL=C find /tmp/test/[a-zA-Z]*
/tmp/test/a
/tmp/test/z
$ LC_ALL=C; find /tmp/test/[a-zA-Z]*
/tmp/test/a
/tmp/test/t
/tmp/test/z
$

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28258>
_______________________________________


More information about the Python-bugs-list mailing list