[GRASS-git] [OSGeo/grass] 7a67a8: packaging: Remove locale fallbacks for Python olde...
Vaclav Petras
noreply at github.com
Tue Jul 14 08:45:24 PDT 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 7a67a8020abd7a1c2e56b338d71808da5d1a2a0a
https://github.com/OSGeo/grass/commit/7a67a8020abd7a1c2e56b338d71808da5d1a2a0a
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2026-07-14 (Tue, 14 Jul 2026)
Changed paths:
M gui/wxpython/core/gcmd.py
M gui/wxpython/core/gconsole.py
M gui/wxpython/gui_core/forms.py
M gui/wxpython/gui_core/ghelp.py
M gui/wxpython/rlisetup/frame.py
M lib/init/grass.py
M python/grass/gunittest/multirunner.py
M python/grass/script/utils.py
M utils/mkhtml.py
Log Message:
-----------
packaging: Remove locale fallbacks for Python older than 3.11 (#7697)
locale.getencoding() was added in Python 3.11, so the fallbacks to the
deprecated locale.getdefaultlocale() are never used now that 3.11 is the
minimal supported version. Call locale.getencoding() directly.
The two places calling locale.getlocale() get the same treatment. That
function is available in all supported versions, so those fallbacks could
not be reached even before.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list