Skip to content

Update the locale alias mapping #129646

Closed
Closed
@serhiy-storchaka

Description

@serhiy-storchaka

locale_alias mapping in the locale module is manually generated from the locale.aliases file from X.org distribution and the supported locales list from glibc. As these files are changed, we need to update locale_alias from time to time. Last time it was updated in 3.8. There are not much changes since then, but they are.

Other issue is that "univ" and "universal" map to non-existing locale "en_US.utf" (should be "en_US.UTF-8"), as was noticed in #122877. locale.aliases no longer contains such aliases, it only contains aliases "univ.utf8" and "universal.utf8@ucs4".

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixesstdlibPython modules in the Lib dir

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions