tkFileBrowser icon indicating copy to clipboard operation
tkFileBrowser copied to clipboard

This may be the best solution. maint: Use babel.Locale and babel.format_decimal for deprecations

Open pupitetris opened this issue 6 months ago • 0 comments

  • Instead of using locale.getdefaultlocale which is deprecated, let the class method babel.Locale.default take care of the selection of a locale.

  • Replaced the deprecated babel.numbers.format_number with format_decimal.

  • LANG is now LOCALE, a babel.Locale object which makes everything tidier and preserves more discovered locale details for the formatting function calls.

pupitetris avatar Jul 06 '25 04:07 pupitetris