]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Fix c-analyzer for GCC: ignore LANG env var (GH-106173) (#106178)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 28 Jun 2023 03:41:36 +0000 (20:41 -0700)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2023 03:41:36 +0000 (03:41 +0000)
commit0373c2ccd5f60dd7b6435879e2f8c1b9ed879a3a
treed811854628d3e4599b616157bcabdfcc794b8b88
parentc1c6738526853c77c55b92ccd756aec96053677e
[3.12] Fix c-analyzer for GCC: ignore LANG env var (GH-106173) (#106178)

Fix c-analyzer for GCC: ignore LANG env var (GH-106173)

The c-analyzer doesn't support GCC localized messages, so just unset
the LANG environment variable.
(cherry picked from commit 1f74b9e933d546a015e8497e3b8728357196acc8)

Co-authored-by: Victor Stinner <vstinner@python.org>
Tools/c-analyzer/c_parser/preprocessor/common.py