summaryrefslogtreecommitdiff
path: root/babel/numbers.py
Commit message (Expand)AuthorAgeFilesLines
* babel.numbers: Fix some mypy-discovered issuesAarni Koskela2023-03-011-8/+6
* Update copyright year to 2023Aarni Koskela2023-02-281-1/+1
* Numbers and core type fixesJonah Lawrence2023-02-031-22/+23
* Apply some simplification fixes courtesy of RuffAarni Koskela2023-01-251-8/+3
* Support for formatting NaN, Infinity (#955)Jonah Lawrence2023-01-251-2/+22
* Adjust tests for CLDR 42Aarni Koskela2023-01-201-2/+2
* Apply ruff UP025 (unicode literal prefix) fixAarni Koskela2023-01-181-16/+16
* Apply ruff I category fixesAarni Koskela2023-01-181-2/+2
* Apply ruff B category fixesAarni Koskela2023-01-181-7/+7
* Minor cleanups (#948)Aarni Koskela2023-01-181-2/+2
* Unify datetime imports (#945)Aarni Koskela2023-01-181-12/+12
* Add type annotations (#934)Jonah Lawrence2023-01-111-54/+151
* fix typo (#941)lilinjie2023-01-091-1/+1
* Fix compact singular formats and patterns with no numbers (#932)Jonah Lawrence2023-01-061-6/+13
* Replace %/.format/concatenation with f-strings where feasible (#927)Aarni Koskela2022-11-231-23/+24
* Cast number to Decimal in _get_compact_format (#930)Jonah Lawrence2022-11-231-2/+4
* feat: Support for short compact currency formats (#926)Jonah Lawrence2022-11-041-5/+48
* Remove vestigial Python 2 `long` check (#925)Aarni Koskela2022-11-021-8/+1
* Quiesce pytest warnings (#916)Aarni Koskela2022-11-011-2/+2
* Add support for compact decimal formats (#909)Jonah Lawrence2022-10-311-0/+57
* Fix up some Python2-isms using pyupgradeAarni Koskela2022-05-101-3/+2
* Fallback count="other" format in format_currency()Jun Omae2022-05-101-1/+5
* Update copyright year to 2022Aarni Koskela2022-01-251-1/+1
* Remove redundant _compat.pyHugo van Kemenade2021-09-141-4/+4
* Become 2.9.1Aarni Koskela2021-04-281-1/+1
* Merge branch '2.8-maintenance' into masterAarni Koskela2020-11-111-1/+1
|\
| * Bump copyright year from 2019 to 2020Aarni Koskela2020-11-111-1/+1
* | Added group_separator feature in number formatting (#726)Abdullah Javed Nesar2020-09-221-17/+41
|/
* fix small decimal with disabled decimal_quantizationHe Chen2019-12-311-1/+1
* Bump copyright year from 2018 to 2019Aarni Koskela2019-05-271-1/+1
* parse_decimal(): assume spaces are equivalent to non-breaking spaces when not...Aarni Koskela2019-05-271-0/+11
* Download CLDR 34.0Alberto Mardegan2019-01-241-1/+1
* don't repeat suggestions in parse_decimal strictSerban Constantin2018-08-071-4/+15
* add a `suggestions` attribute to `NumberFormatError`Changaco2018-06-171-4/+9
* include more information in error messageChangaco2018-06-171-4/+15
* add a `strict` mode to `parse_decimal()`Charly C2018-06-171-3/+22
* Use https URLs throughout project where availableJon Dufresne2018-06-131-1/+1
* Simplify format_currency code by pulling out/using helpers.Luke Plant2018-06-071-16/+36
* numbers: implement currency formatting with long display names.Luke Plant2018-06-041-0/+62
* Merge pull request #559 from python-babel/authorsAarni Koskela2018-05-281-1/+1
|\
| * Update copyright header years, and include the Babel teamAarni Koskela2018-02-021-1/+1
* | Restore force_frac to NumberPattern.apply(), as deprecatedAarni Koskela2018-05-071-4/+35
|/
* numbers: allow number patterns with no dynamic parts whatsoeverAarni Koskela2018-01-171-1/+1
* Remove unused importsHugo2017-12-281-2/+2
* Allow bypass of decimal quantization.Kevin Deldycke2017-10-231-12/+90
* Refactor decimal handling code.Kevin Deldycke2017-10-181-54/+118
* Fixed docstring of validate_currency function (#522)Simeon Visser2017-08-281-1/+1
* Add currency utilities and helpers.Kevin Deldycke2017-05-171-12/+97
* Merge pull request #410 from etanol/decimal-controlAarni Koskela2016-07-081-9/+9
|\
| * Simplify the selection of decimal implementationIsaac Jurado2016-05-291-8/+8