New submission from Arfrever Frehtes Taifersar Arahesis: 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). ---------- assignee: twouters components: Build files: python-use_C_locale.patch keywords: patch messages: 277277 nosy: Arfrever, twouters priority: normal severity: normal status: open title: Broken python-config generated with Estonian locale versions: Python 3.5, Python 3.6, Python 3.7 Added file: http://bugs.python.org/file44794/python-use_C_locale.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28258> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com