This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever, twouters
Date 2016-09-23.13:31:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474637498.59.0.401173871387.issue28258@psf.upfronthosting.co.za>
In-reply-to
Content
When Estonian locale (e.g. et_EE.UTF-8) is set, then the following line in Makefile.pre.in does not match all required strings:

sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config

In Estonian locale:
[A-Z] does not match: T, U, V, W, X, Y
[a-z] does not match: t, u, v, w, x, y
https://en.wikipedia.org/wiki/Estonian_orthography

Run-time result without fix applied:

$ LC_ALL=C bash python-config --help
python-config: line 45: LDVERSION: command not found
python-config: line 49: VERSION: command not found
python-config: line 51: prefix: command not found
python-config: line 51: VERSION: command not found
Usage: python-config --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir

I attach patch (also fixing distclean target).
History
Date User Action Args
2016-09-23 13:31:38Arfreversetrecipients: + Arfrever, twouters
2016-09-23 13:31:38Arfreversetmessageid: <1474637498.59.0.401173871387.issue28258@psf.upfronthosting.co.za>
2016-09-23 13:31:38Arfreverlinkissue28258 messages
2016-09-23 13:31:38Arfrevercreate