mike-fabian/ibus-table

[BUG] DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead _locale = getdefaultlocale()[0]

Closed this issue · 1 comments

 ibus-daemon -rx 
...
/usr/share/ibus-table/engine/main.py:280: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
   _locale = getdefaultlocale()[0]

https://docs.python.org/3.12/library/locale.html

locale.getdefaultlocale([envvars])
...
Deprecated since version 3.11, will be removed in version 3.13.