summaryrefslogtreecommitdiff
path: root/babel/util.py
Commit message (Expand)AuthorAgeFilesLines
* Update copyright year to 2023Aarni Koskela2023-02-281-1/+1
* Clean up babel.localtime (#952)Aarni Koskela2023-01-251-1/+1
* Apply some small miscellaneous formatting fixesAarni Koskela2023-01-181-0/+2
* Apply ruff I category fixesAarni Koskela2023-01-181-3/+3
* Unify datetime imports (#945)Aarni Koskela2023-01-181-6/+6
* Implement zoneinfo support and make pytz optional (#940)DS/Charlie2023-01-111-6/+4
* Add type annotations (#934)Jonah Lawrence2023-01-111-13/+20
* Replace %/.format/concatenation with f-strings where feasible (#927)Aarni Koskela2022-11-231-5/+3
* Fix up some Python2-isms using pyupgradeAarni Koskela2022-05-101-1/+0
* Update copyright year to 2022Aarni Koskela2022-01-251-1/+1
* Remove redundant _compat.pyHugo van Kemenade2021-09-141-1/+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
* | Replace usage of parser.suite with ast.parseMiro Hrončok2020-01-061-2/+2
|/
* Bump copyright year from 2018 to 2019Aarni Koskela2019-05-271-1/+1
* Replace odict with Python's collection.OrderedDictJon Dufresne2019-01-251-71/+3
* add support to util.pathmatch for matching the start of a stringBrian Cappello2018-08-141-1/+20
* Update copyright header years, and include the Babel teamAarni Koskela2018-02-021-1/+1
* Parse multi-line __future__ imports better (#519)Aarni Koskela2017-08-211-2/+15
* Fix #426Heungsub Lee2016-07-091-0/+23
* Add flake8 pre-commit hook and apply fixes.Lukas Balaga2016-03-071-3/+2
* Apply pre-commit fixes.Lukas Balaga2016-02-271-6/+10
* Fix UnicodeEncodeError on file encoding detectionRoman Imankulov2016-01-041-1/+1
* util.sh: Move out relpath importLasse Schuirmann2015-12-211-1/+0
* Test/CI: Make doctests run on both Py2 and Py3Aarni Koskela2015-12-211-2/+2
* Merge pull request #219 from moreati/fixedoffsettz-negativeLasse Schuirmann2015-09-101-1/+1
|\
| * FixedOffsetTimezone: fix display of negative offsetsAlex Willmer2015-09-101-1/+1
* | Remove unneeded relpath() polyfillAlex Willmer2015-09-101-23/+1
|/
* Merge pull request #119 from regisb/regisb/fix-odict-popLasse Schuirmann2015-09-101-6/+9
|\
| * odict: Fix pop methodRégis Behmo2015-08-281-6/+9
* | Merge pull request #199 from lepistone/allow-utf8-bom-with-magic-commentErick Wilder2015-09-091-4/+6
|\ \
| * | update dead link to the Python Language ReferenceLeonardo Pistone2015-08-251-1/+1
| * | allow utf8 BOM + magic comment, closes #189Leonardo Pistone2015-08-251-3/+5
| |/
* | Improve odict performance by making key search O(1)Arturas Moskvinas2015-08-261-1/+2
|/
* change spelling of the encodingAlex Morega2014-01-061-1/+1
* Some codestyle updates in babel.utilArmin Ronacher2013-07-251-11/+0
* License clarification and cleanupArmin Ronacher2013-07-241-14/+9
* fix parser for python 3Alex Morega2013-07-071-2/+2
* Turn PYTHON_MAGIC_COMMENT_re into byte stringDaniel Neuhäuser2013-07-061-1/+1
* Made another pass on the Python 3 supportArmin Ronacher2013-07-061-2/+1
* First pass on python 3 supportArmin Ronacher2013-07-061-1/+1
* Started support for local times in babelArmin Ronacher2013-07-061-43/+9
* Started work on improving timezone support and made pytz a requirementArmin Ronacher2013-07-061-7/+2
* Removed __docformat__ markersArmin Ronacher2013-07-051-1/+1
* Removed trailing whitespaceArmin Ronacher2013-07-051-11/+11
* Update the copyright line.Jeroen Ruigrok van der Werven2011-03-051-1/+1
* Get rid of the utility code for itemgetter(), we now simply import thisJeroen Ruigrok van der Werven2011-03-051-5/+0
* Cleanup round #1: get rid of the frozenset/set utility code and imports.Jeroen Ruigrok van der Werven2011-03-051-6/+0
* fix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decodePhilip Jenvey2008-10-081-4/+12