Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve type annotation for `babel.support.Translations.load` (#983) | Aarni Koskela | 2023-03-02 | 1 | -7/+21 |
| | | | | | | Fixes #982 Co-authored-by: Jonah Lawrence <jonah@freshidea.com> | ||||
* | Update copyright year to 2023 | Aarni Koskela | 2023-02-28 | 1 | -1/+1 |
| | |||||
* | Apply some simplification fixes courtesy of Ruff | Aarni Koskela | 2023-01-25 | 1 | -4/+1 |
| | |||||
* | Remove redundant tests for babel.support (#954) | Aarni Koskela | 2023-01-20 | 1 | -0/+5 |
| | | | The doctests test the exact same things. | ||||
* | Adjust tests for CLDR 42 | Aarni Koskela | 2023-01-20 | 1 | -2/+2 |
| | | | | | | | The space changes around English seem to be on purpose, see: * https://unicode-org.atlassian.net/browse/CLDR-14032 * https://github.com/unicode-org/cldr/commit/a83026ab8c8fa6ed88f1047c4d0c6089f88b7e5d | ||||
* | Apply some small miscellaneous formatting fixes | Aarni Koskela | 2023-01-18 | 1 | -0/+1 |
| | |||||
* | Apply ruff I category fixes | Aarni Koskela | 2023-01-18 | 1 | -6/+9 |
| | |||||
* | Apply ruff F category fixes | Aarni Koskela | 2023-01-18 | 1 | -2/+3 |
| | |||||
* | Apply ruff B category fixes | Aarni Koskela | 2023-01-18 | 1 | -2/+2 |
| | |||||
* | Minor cleanups (#948) | Aarni Koskela | 2023-01-18 | 1 | -1/+1 |
| | | | | | * Add __all__s to be cleaner about re-exports * Move timezone_getter to conftest * Apply spelling corrections suggested by codespell | ||||
* | Unify datetime imports (#945) | Aarni Koskela | 2023-01-18 | 1 | -14/+19 |
| | | | Co-authored-by: Jonah Lawrence <jonah@freshidea.com> | ||||
* | Implement zoneinfo support and make pytz optional (#940) | DS/Charlie | 2023-01-11 | 1 | -9/+12 |
| | |||||
* | Add type annotations (#934) | Jonah Lawrence | 2023-01-11 | 1 | -77/+124 |
| | | | | | | | Refs e.g. https://github.com/python/typeshed/pull/9455 Co-authored-by: Spencer Brown <spencerb21@live.com> Co-authored-by: Aarni Koskela <akx@iki.fi> | ||||
* | Replace %/.format/concatenation with f-strings where feasible (#927) | Aarni Koskela | 2022-11-23 | 1 | -2/+2 |
| | | | Original conversion suggestions via flynt, edited by hand. | ||||
* | feat: Support for short compact currency formats (#926) | Jonah Lawrence | 2022-11-04 | 1 | -1/+8 |
| | | | | Co-authored-by: Jun Omae (大前 潤) <42682+jun66j5@users.noreply.github.com> | ||||
* | feat: Add `Format.compact_decimal` utility (#921) | Jonah Lawrence | 2022-11-02 | 1 | -1/+12 |
| | |||||
* | Remove superfluous `__unicode__` declarations | Lukas Juhrich | 2022-09-27 | 1 | -3/+0 |
| | | | | | The `__unicode__` protocol is not used in python3, and furthermore the `unicode()` builtin does not exist anymore. | ||||
* | Remove `__nonzero__` methods (#896) | Nikita Sobolev | 2022-08-21 | 1 | -1/+1 |
| | |||||
* | Fix up some Python2-isms using pyupgrade | Aarni Koskela | 2022-05-10 | 1 | -6/+5 |
| | |||||
* | Merge pull request #835 from akx/gettext-deprecations | Aarni Koskela | 2022-04-08 | 1 | -13/+17 |
|\ | | | | | Gettext deprecation fixes (for Python 3.11 compatibility) | ||||
| * | Don't assume `_output_charset` is a thing (it's not on Python 3.11) | Aarni Koskela | 2022-01-28 | 1 | -13/+5 |
| | | | | | | | | Fixes #819 | ||||
| * | Add deprecations to l*gettext variants | Aarni Koskela | 2022-01-28 | 1 | -0/+12 |
| | | |||||
* | | Don't use the deprecated format_number function internally or in tests | Aarni Koskela | 2022-02-04 | 1 | -2/+2 |
|/ | |||||
* | Update copyright year to 2022 | Aarni Koskela | 2022-01-25 | 1 | -1/+1 |
| | |||||
* | Remove redundant _compat.py | Hugo van Kemenade | 2021-09-14 | 1 | -19/+7 |
| | |||||
* | Become 2.9.1 | Aarni Koskela | 2021-04-28 | 1 | -1/+1 |
| | | | | | * Update copyright year * Update changelog | ||||
* | Merge branch '2.8-maintenance' into master | Aarni Koskela | 2020-11-11 | 1 | -1/+1 |
|\ | |||||
| * | Bump copyright year from 2019 to 2020 | Aarni Koskela | 2020-11-11 | 1 | -1/+1 |
| | | |||||
* | | Correct default timedelta format to 'long' | Aarni Koskela | 2020-10-02 | 1 | -1/+1 |
| | | | | | | | | Augments 9327e0824a1bbed538e73d42b971988f8214b490 | ||||
* | | LazyProxy: Handle AttributeError in specified func (#724) | Nikiforov Konstantin | 2020-09-30 | 1 | -2/+10 |
|/ | | | | | Fixes #723 Co-authored-by: Aarni Koskela <akx@iki.fi> | ||||
* | Bump copyright year from 2018 to 2019 | Aarni Koskela | 2019-05-27 | 1 | -1/+1 |
| | |||||
* | Use https URLs throughout project where available | Jon Dufresne | 2018-06-13 | 1 | -1/+1 |
| | | | | Updated docs and code comments. | ||||
* | Update copyright header years, and include the Babel team | Aarni Koskela | 2018-02-02 | 1 | -1/+1 |
| | |||||
* | Apply pre-commit fixes. | Lukas Balaga | 2016-02-27 | 1 | -3/+3 |
| | |||||
* | Flatten NullTranslations.files into a list | Aarni Koskela | 2015-12-29 | 1 | -1/+1 |
| | | | | | | | | `filter` is special in Python 3, and latter usages would error out in strange ways. Fixes #92 (https://github.com/python-babel/babel/pull/92) Fixes #162 (https://github.com/python-babel/babel/pull/162) | ||||
* | Test/CI: Make doctests run on both Py2 and Py3 | Aarni Koskela | 2015-12-21 | 1 | -2/+2 |
| | | | | Fixes #293 | ||||
* | Add __copy__ and __deepcopy__ to LazyProxy. | astaric | 2015-08-05 | 1 | -0/+17 |
| | | | | | Python's copy.copy and copy.deepcopy do not call objects __init__, resulting in endless recursion. | ||||
* | Some codestyle updates in babel.support | Armin Ronacher | 2013-07-25 | 1 | -31/+2 |
| | |||||
* | License clarification and cleanup | Armin Ronacher | 2013-07-24 | 1 | -17/+11 |
| | |||||
* | fix babel.support for py3 strings/bytes | Alex Morega | 2013-07-07 | 1 | -8/+8 |
| | |||||
* | the python stdlib has no *pgettext | Alex Morega | 2013-07-07 | 1 | -4/+0 |
| | |||||
* | fix tests | Alex Morega | 2013-07-07 | 1 | -0/+6 |
| | |||||
* | More gettext fixes | Armin Ronacher | 2013-07-06 | 1 | -3/+13 |
| | |||||
* | Merge pull request #14 from mgax/pypy | Armin Ronacher | 2013-07-06 | 1 | -1/+2 |
|\ | | | | | Pypy | ||||
| * | make sure we close the file | Alex Morega | 2013-07-05 | 1 | -1/+2 |
| | | |||||
* | | Greatly improved timedelta formatting | Armin Ronacher | 2013-07-05 | 1 | -3/+6 |
|/ | |||||
* | Removed __docformat__ markers | Armin Ronacher | 2013-07-05 | 1 | -1/+1 |
| | |||||
* | Removed trailing whitespace | Armin Ronacher | 2013-07-05 | 1 | -35/+35 |
| | |||||
* | changes in CLDR data | Alex Morega | 2013-07-04 | 1 | -1/+1 |
| | |||||
* | update Translations.load to use new parameter name ('fp' instead of ↵ | Felix Schwarz | 2012-08-22 | 1 | -1/+1 |
| | | | | 'fileobj'), regression introduced in r653 |