Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rework to use lru_cache instead of TTLCache | Paul McGuire | 2016-07-27 | 1 | -70/+62 | |
| | ||||||
* | _TTLCache logic cleanup, add get() method similar to dict.get | Paul McGuire | 2016-07-27 | 1 | -7/+10 | |
| | ||||||
* | Redo packrat cache to use _TTLCache instead of dict, to permit cache size ↵ | Paul McGuire | 2016-07-26 | 1 | -21/+95 | |
| | | | | constraints | |||||
* | Fixed bug in pyparsing_common.numeric, integers were parsed as floats | Paul McGuire | 2016-06-18 | 1 | -3/+3 | |
| | ||||||
* | Added ParserElement.split() generator method | Paul McGuire | 2016-06-13 | 1 | -1/+17 | |
| | | | Also fixed minor blip in originalTextFor, to inherit ignored exprs from the embedded expression. | |||||
* | Fix docstring formatting for epydoc | Paul McGuire | 2016-06-12 | 1 | -5/+5 | |
| | | | Cleaned up expression naming in pyparsing_common | |||||
* | Fix docstring formatting for epydoc | Paul McGuire | 2016-06-12 | 1 | -2/+2 | |
| | ||||||
* | Change result value returned by runTests to be a list of (test,result) tuples | Paul McGuire | 2016-06-12 | 1 | -16/+39 | |
| | | | | | | Add pyparsing_common helpers convertToDate and convertToDatetime Add named regex fields to iso8601_date and iso8601_datetime Fix pyparsing_common method stripHTMLTags Corresponding cleanups in unittests | |||||
* | Add names to new pyparsing_common fraction expressions | Paul McGuire | 2016-06-08 | 1 | -3/+3 | |
| | ||||||
* | Update version timestamp | Paul McGuire | 2016-06-08 | 1 | -1/+1 | |
| | ||||||
* | Add support in pyparsing_common for fractions and mixed integer-fraction values | Paul McGuire | 2016-06-08 | 1 | -5/+13 | |
| | ||||||
* | Added pyparsing_common.stripHTMLTags; added links to pyparsing_common docstring | Paul McGuire | 2016-06-02 | 1 | -7/+15 | |
| | ||||||
* | Added tokenMap parse action helper; general code cleanup; renamed ↵ | Paul McGuire | 2016-05-24 | 1 | -62/+113 | |
| | | | | literalStringClass to _literalStringClass throughout | |||||
* | Updated comments in pyparsing_common and CHANGES | Paul McGuire | 2016-05-18 | 1 | -1/+4 | |
| | ||||||
* | Add hex_integer to pyparsing_common | Paul McGuire | 2016-05-18 | 1 | -0/+3 | |
| | ||||||
* | runTests changes: made parseAll=True the default; added support for failure ↵ | Paul McGuire | 2016-05-18 | 1 | -15/+17 | |
| | | | | | tests; always return success,results tuple revamp unitTests to use new failureTests arg | |||||
* | Add UUID to pyparsing_common | Paul McGuire | 2016-05-18 | 1 | -2/+4 | |
| | ||||||
* | Added more expressions to pyparsing_common: IPv4 and IPv6 addresses ↵ | Paul McGuire | 2016-05-18 | 1 | -3/+23 | |
| | | | | (including long, short, and mixed forms of IPv6; MAC address; ISO8601 date and date time strings | |||||
* | Some docstring cleanup for better epydoc output | Paul McGuire | 2016-05-14 | 1 | -10/+11 | |
| | ||||||
* | Added 'fatal' option to addCondition; enhancements to runTests, and added ↵ | Paul McGuire | 2016-05-13 | 1 | -16/+39 | |
| | | | | unit test for runTests | |||||
* | Fix Py3 incompatibility in traceParseAction | Paul McGuire | 2016-05-13 | 1 | -2/+2 | |
| | ||||||
* | Minor enhancement to traceParseAction decorator, to retain the parse ↵ | Paul McGuire | 2016-05-13 | 1 | -1/+11 | |
| | | | | | action's name for the trace output Some rework of unitTests.py, to simplify test suite building | |||||
* | Add epydoc docstrings to new expressions in pyparsing_common | Paul McGuire | 2016-05-13 | 1 | -3/+11 | |
| | ||||||
* | Split out the '==' behavior in ParserElement, now implemented as the ↵ | Paul McGuire | 2016-05-12 | 1 | -39/+131 | |
| | | | | | | | matches() method. Added support for embedded comments in test string passed to runTests. Reworked embedded tests to include comments. Added 'pyparsing_common' class containing common/helpful little expressions. Added embedded demonstration tests. Reworked extraction of system.version for Py2/3-specific processing. | |||||
* | Update version timestamp | Paul McGuire | 2016-05-11 | 1 | -1/+1 | |
| | ||||||
* | traceback module variations between Py3.5.0 and Py3.5.1 | Paul McGuire | 2016-05-11 | 1 | -2/+5 | |
| | ||||||
* | Fix trim_arity handling of Python 2 vs 3 traceback data; changed in 3.5, not ↵ | Paul McGuire | 2016-05-11 | 1 | -6/+7 | |
| | | | | 3.0, so earlier Py3 versions use data as-is from traceback module | |||||
* | Fixed similar backtracking issues in the C and C++ style comments | Paul McGuire | 2016-04-29 | 1 | -4/+4 | |
| | ||||||
* | Fixed catastrophic regex backtracking in implementation of the quoted string ↵ | Paul McGuire | 2016-04-29 | 1 | -4/+5 | |
| | | | | expressions (dblQuotedString, sglQuotedString, and quotedString) | |||||
* | Fix bug in _trim_arity when pyparsing is part of a PyInstaller (which leaves ↵ | Paul McGuire | 2016-04-22 | 1 | -5/+26 | |
| | | | | out the source code), replaced using traceback module extract_stack/extract_tb calls. | |||||
* | Fix timestamp for release | Paul McGuire | 2016-03-21 | 1 | -1/+1 | |
| | ||||||
* | Cleanup docstring changes to QuotedString for epydoc processing | Paul McGuire | 2016-03-21 | 1 | -3/+2 | |
| | ||||||
* | Added default behavior to QuotedString to convert embedded '\t', '\n', etc. ↵ | Paul McGuire | 2016-03-19 | 1 | -2/+15 | |
| | | | | characters to their whitespace counterparts; added support in new init arg, convertWhitespaceEscapes. | |||||
* | Fixed bug in ParseResults.toDict(), in which dict values were always ↵ | Paul McGuire | 2016-03-06 | 1 | -2/+12 | |
| | | | | converted to dicts, even if they were just unkeyed lists of tokens. | |||||
* | Fixed bug in Each introduced in 2.1.0 | Paul McGuire | 2016-02-23 | 1 | -4/+6 | |
| | ||||||
* | Fixed bug in SkipTo when using failOn; replaced explicit references to ↵ | Paul McGuire | 2016-02-22 | 1 | -4/+4 | |
| | | | | obj.__dict__ with vars(obj) (several places); tightened up unit tests for SkipTo | |||||
* | Removed use of partial in replaceWith, for PyPy compatibility. Removed ↵ | Paul McGuire | 2016-02-16 | 1 | -21/+2 | |
| | | | | no-longer-used method getTokensEndLoc (was part of keepOriginalText, previously deprecated and deleted). | |||||
* | Added support for assigning to ParseResults using slices; reimplemented ↵ | Paul McGuire | 2016-02-15 | 1 | -7/+4 | |
| | | | | originalTextFor using sliced assignment | |||||
* | Added stopOn arg to ZeroOrMore and OneOrMore; refactored/cleaned up SkipTo ↵ | Paul McGuire | 2016-02-07 | 1 | -97/+128 | |
| | | | | to reduce exception-based flow of control (using new ParserElement.canParseNext); made toklist a default arg so ParseResults can now be constructed using an empty constructor; fleshed out some docstrings with parameter lists | |||||
* | Removed deprecated class Upcase and deprecated class keepOriginalText; ↵ | Paul McGuire | 2016-02-07 | 1 | -28/+3 | |
| | | | | updated examples to remove those symbols, and to replace operatorPrecedence with infixNotation | |||||
* | Switched version number to 2.1.0 | Paul McGuire | 2016-02-07 | 1 | -2/+2 | |
| | ||||||
* | Add support for pickling ParseResults with protocols 2 and higher (default ↵ | Paul McGuire | 2016-02-06 | 1 | -1/+6 | |
| | | | | protocol in Py3 is 3) | |||||
* | Fixed ParseResults.asDict() to correctly convert nested ParseResults values ↵ | Paul McGuire | 2016-01-23 | 1 | -4/+9 | |
| | | | | | to dicts. Fixed ParseResults.__radd__ to return other+self if not adding to 0. | |||||
* | Fix _trim_arity to distinguish between TypeErrors raised in parse actions ↵ | Paul McGuire | 2016-01-18 | 1 | -6/+18 | |
| | | | | and those raised during internal arity testing | |||||
* | More internal expression naming, in internal elements of infixNotation | Paul McGuire | 2016-01-01 | 1 | -3/+4 | |
| | ||||||
* | Added expression names for many internal and builtin expressions, to reduce ↵ | Paul McGuire | 2015-12-31 | 1 | -20/+25 | |
| | | | | name and error message overhead during parsing | |||||
* | Fixed bug in ignore() (introduced in pyparsing 1.5.3) that would not accept ↵ | Paul McGuire | 2015-12-17 | 1 | -2/+5 | |
| | | | | a string literal as the ignore expression. | |||||
* | Fixed up implementations of __dir__ to reduce maintenance overhead, and fix ↵ | Paul McGuire | 2015-12-13 | 1 | -4/+3 | |
| | | | | output of ParseResults instance dirs. | |||||
* | Remove duplicated code | Paul McGuire | 2015-12-07 | 1 | -1/+0 | |
| | ||||||
* | Cleaned up additional issues from enhancing the error messages for Or and ↵ | Paul McGuire | 2015-11-25 | 1 | -13/+6 | |
| | | | | MatchFirst, handling Unicode values in expressions. Fixes Unicode encoding issues in Python 2. |