[GRASS-git] [OSGeo/grass] cf51ad: Avoid using deprecated locale.getdefaultlocale()
Markus Neteler
noreply at github.com
Mon May 29 07:38:23 PDT 2023
Branch: refs/heads/releasebranch_7_8
Home: https://github.com/OSGeo/grass
Commit: cf51ad543b83f93af907678737bc707dd5b43de7
https://github.com/OSGeo/grass/commit/cf51ad543b83f93af907678737bc707dd5b43de7
Author: Ondrej Pesek <pesej.ondrek at gmail.com>
Date: 2023-05-29 (Mon, 29 May 2023)
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 lib/python/gunittest/multirunner.py
M lib/python/script/utils.py
M tools/mkhtml.py
Log Message:
-----------
Avoid using deprecated locale.getdefaultlocale()
Backport of #2550 to G78, fixing Python 3.11 error after deprecation.
* fix #2538
* Use getencoding() where only encoding is needed; getlocale() otherwise
Additional changes:
- sync of `tools/mkhtml.py` with `main` branch
- selected backport from #2140 to get `utils/generate_last_commit_file.py`
- selective sync of `lib/init/grass.py`
Commit: 40aaed379a0a1583477068a4c539d5c57fe0d9cd
https://github.com/OSGeo/grass/commit/40aaed379a0a1583477068a4c539d5c57fe0d9cd
Author: Markus Neteler <neteler at gmail.com>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M lib/init/grass.py
M tools/Makefile
A tools/generate_last_commit_file.py
M tools/mkhtml.py
Log Message:
-----------
Complete backport of encoding fixes
Completes cf51ad543b83f93af907678737bc707dd5b43de7
Compare: https://github.com/OSGeo/grass/compare/c1021236881d...40aaed379a0a
More information about the grass-commit
mailing list