summaryrefslogtreecommitdiff
path: root/babel/util.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* Moved PYTHON_FORMAT back to catalog.Armin Ronacher2008-06-171-11/+0
* Added `validate_format helper function to `babel.support`.Armin Ronacher2008-06-171-0/+12
* Fix iterkeys/iteritems/itervalues/pop/popitem methods on the `odict` utility ...Christopher Lenz2008-06-111-3/+18
* Reinstate changeset r362, but this time properly wrap the exception list inJeroen Ruigrok van der Werven2008-05-021-2/+2
* Back out last change, this broke extraction.Jeroen Ruigrok van der Werven2008-04-241-2/+2
* Make dependency on the parser module optional.Christopher Lenz2008-04-111-2/+2
* Fix for #79 (location lines wrapping at hyphens).Christopher Lenz2008-02-011-1/+29
* Fix tests broken by [233], and add new tests.Christopher Lenz2007-07-201-2/+27
* Implement fuzzy matching to catalog updates. No frontend yet.Christopher Lenz2007-06-221-0/+6
* made the python extractor detect source file encodings from the magic encodingPhilip Jenvey2007-06-221-0/+51
* Added preliminary catalog updating/merging functionality.Christopher Lenz2007-06-221-1/+1
* More fixes for Windows compatibility:Christopher Lenz2007-06-191-1/+2
* Make `relpath` doctest Windows-compatible.Christopher Lenz2007-06-181-3/+3
* Fix for #16: the header message (`msgid = ""`) is now treated specially by `r...Christopher Lenz2007-06-141-17/+27