]> git.ipfire.org Git - thirdparty/babel.git/commit
Simplify the selection of decimal implementation
authorIsaac Jurado <diptongo@gmail.com>
Sun, 29 May 2016 07:40:24 +0000 (09:40 +0200)
committerIsaac Jurado <diptongo@gmail.com>
Sun, 29 May 2016 07:40:24 +0000 (09:40 +0200)
commit8341064c151b50135ac083b33117420efeda4d96
tree63e9c0d59e3b0247e639a3bf59e3c3a5872c1113
parent6238f6620c54d0343e923ef92130b35f2bd117d0
Simplify the selection of decimal implementation

Instead of selecting individual symbols, expose only the chosen decimal module
through babel._compat.  This forces Babel to always use "decimal." prefix.
Howver, it will simplify the code for users that need to manipulate the decimal
context.
babel/_compat.py
babel/numbers.py
babel/plural.py
babel/units.py
tests/test_numbers.py
tests/test_plural.py
tests/test_smoke.py