Commit 4dc4c88
committed
Correct invalid universal locale names
These probably don't matter for anything. According to the comments in
locale.alias, univ and universal apply to HPUX 9.x.
But the "en_US.utf" values are obviously incorrect, and invalid in glibc.
Debian has been carrying this patch since around Python 2.4. Either it
should be upstream, or it should be dropped from Debian.
Looking into this leads to bpo-20087, which temporarily fixed this
before, as part of a larger cleanup in the migration to glibc 2.24
locales. That was reverted.
The invalid value itself comes from xfree86, as far as I can tell.
It appeared in 1999 [0] and were corrected in 2000 [1]. locale.py was
written in-between and cribbed the broken values [2].
[0]: https://gitlab.freedesktop.org/ajax/xfree86/-/commit/16664e079de9938a4354e94c5c5afe5476bbaa98#8c0c2f24be5c75f99e8d6e55aa310736636d2584_10_480
[1]: https://gitlab.freedesktop.org/ajax/xfree86/-/commit/40f478e907f33fc56633bb16f7a6756314d0c10d?page=3#8c0c2f24be5c75f99e8d6e55aa310736636d2584_496_496
[2]: 5431bc31 parent 0fd97e4 commit 4dc4c88
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1407 | 1407 | | |
1408 | 1408 | | |
1409 | 1409 | | |
1410 | | - | |
1411 | | - | |
| 1410 | + | |
| 1411 | + | |
1412 | 1412 | | |
1413 | 1413 | | |
1414 | 1414 | | |
| |||
0 commit comments