Significant or incompatible changes listed here.
- Dropped official support for Python 2.6, 3.2 and 3.3 (mainly because our test tools don't support them any more).
Money.round([ndigits])
added. Usesdecimal.ROUND_HALF_EVEN
by default, but this can be overridden by settingrounding
in thedecimal
context before callingMoney.round()
.- Various fixes/additions for different locales
- Division support on Python 2
- DEFAULT locale is now used as a fallback to return a currency symbol if your chosen locale has no symbol set for that currency, rather than just returning the currency code.
- Money.__str__ changed under Python 2 to use only ASCII characters. This means that currency codes, rather than symbols, are used.
- Lots of additional locales supported out of the box.
- Python 3.5 supported
- Fixed #70 - format_money error when the locale is not in the formatting definitions: the default is not used.
- Various other bug fixes
- See VCS logs.