Skip to content

babel: Use format_decimal instead of format_number (deprecated)#33

Open
pupitetris wants to merge 1 commit intoj4321:masterfrom
pupitetris:maint-babel-format_number-deprecation
Open

babel: Use format_decimal instead of format_number (deprecated)#33
pupitetris wants to merge 1 commit intoj4321:masterfrom
pupitetris:maint-babel-format_number-deprecation

Conversation

@pupitetris
Copy link

constants.py:locale_number uses format_number, which produces

DeprecationWarning: Use babel.numbers.format_decimal() instead.

format_number has been deprecated since babel 2.6.0.

https://babel.pocoo.org/en/latest/api/numbers.html

constants.py:locale_number uses format_number, which produces

DeprecationWarning: Use babel.numbers.format_decimal() instead.

format_number has been deprecated since babel 2.6.0.

https://babel.pocoo.org/en/latest/api/numbers.html
@pupitetris
Copy link
Author

Please check PR #34 before this one, as it may be the most ellegant solution for these two PR (32 and 33)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant