Mercurial > hg
annotate tests/test-locale.t @ 51388:cb5175edd225 stable
cext: fix potential memory leaks of list items appended with PyList_Append
Also reduce the duplication in the tricky code that uses PyList_Append by
extracting it into a function `pylist_append_owned`.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 15 Feb 2024 15:21:43 +0000 |
parents | afcad425a0b6 |
children |
rev | line source |
---|---|
44977
afcad425a0b6
pycompat: fix crash when default locale is unknown
Manuel Jacob <me@manueljacob.de>
parents:
diff
changeset
|
1 $ LANG=nonexistent LC_ALL=nonexistent LANGUAGE=nonexistent hg version -q |
afcad425a0b6
pycompat: fix crash when default locale is unknown
Manuel Jacob <me@manueljacob.de>
parents:
diff
changeset
|
2 Mercurial Distributed SCM (version *) (glob) |