]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] Fix c-analyzer for GCC: ignore LANG env var (GH-106173) (#106177)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 28 Jun 2023 03:17:31 +0000 (20:17 -0700)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2023 03:17:31 +0000 (05:17 +0200)
commit9cc0533459ad7d2de92b0f1b0fcc94f33542f248
treeedd6f983559503a0eeda26f6b713470503b33f32
parentd5418e97fc524420011a370ba3c2c3cf6a89a74f
[3.11] Fix c-analyzer for GCC: ignore LANG env var (GH-106173) (#106177)

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