Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | runTests changes: made parseAll=True the default; added support for failure ↵ | Paul McGuire | 2016-05-18 | 3 | -30/+55 | |
| | | | | | tests; always return success,results tuple revamp unitTests to use new failureTests arg | |||||
* | Add UUID to pyparsing_common | Paul McGuire | 2016-05-18 | 3 | -2/+6 | |
| | ||||||
* | Added more expressions to pyparsing_common: IPv4 and IPv6 addresses ↵ | Paul McGuire | 2016-05-18 | 3 | -4/+116 | |
| | | | | (including long, short, and mixed forms of IPv6; MAC address; ISO8601 date and date time strings | |||||
* | Py2/Py3 compatibility | Paul McGuire | 2016-05-18 | 1 | -3/+8 | |
| | ||||||
* | Update pyparsing code practices | Paul McGuire | 2016-05-17 | 4 | -101/+30 | |
| | ||||||
* | 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 | 3 | -20/+103 | |
| | | | | 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 | 3 | -65/+42 | |
| | | | | | 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 | 2 | -39/+150 | |
| | | | | | | | 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. | |||||
* | Notes on _trim_arity fix | Paul McGuire | 2016-05-11 | 1 | -1/+8 | |
| | ||||||
* | 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 | |||||
* | Better handling of Win vs. Linux line endings in ParseConfigFileTest, and ↵ | Paul McGuire | 2016-05-11 | 1 | -2/+2 | |
| | | | | case-sensitive Setup.ini filename | |||||
* | Fixed similar backtracking issues in the C and C++ style comments | Paul McGuire | 2016-04-29 | 2 | -5/+7 | |
| | ||||||
* | Fixed catastrophic regex backtracking in implementation of the quoted string ↵ | Paul McGuire | 2016-04-29 | 3 | -5/+26 | |
| | | | | expressions (dblQuotedString, sglQuotedString, and quotedString) | |||||
* | Fix bug in _trim_arity when pyparsing is part of a PyInstaller (which leaves ↵ | Paul McGuire | 2016-04-22 | 2 | -6/+33 | |
| | | | | 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 | 3 | -2/+36 | |
| | | | | 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 | 3 | -2/+51 | |
| | | | | 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 | 3 | -4/+30 | |
| | ||||||
* | Fixed bug in SkipTo when using failOn; replaced explicit references to ↵ | Paul McGuire | 2016-02-22 | 3 | -10/+16 | |
| | | | | 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 | 2 | -21/+6 | |
| | | | | 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 | 3 | -8/+18 | |
| | | | | originalTextFor using sliced assignment | |||||
* | Cleaned up pickle tests; added CountedArrayTest3 to test for ↵ | Paul McGuire | 2016-02-07 | 1 | -35/+106 | |
| | | | | non-decimal-integer counts; added OneOrMoreStopTest and ZeroOrMoreStopTest to test for new stopOn arguments | |||||
* | Added stopOn arg to ZeroOrMore and OneOrMore; refactored/cleaned up SkipTo ↵ | Paul McGuire | 2016-02-07 | 2 | -97/+152 | |
| | | | | 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 | |||||
* | Fixed to match current Python installed version | Paul McGuire | 2016-02-07 | 1 | -1/+1 | |
| | ||||||
* | Removed deprecated class Upcase and deprecated class keepOriginalText; ↵ | Paul McGuire | 2016-02-07 | 13 | -78/+60 | |
| | | | | updated examples to remove those symbols, and to replace operatorPrecedence with infixNotation | |||||
* | Switched version number to 2.1.0 | Paul McGuire | 2016-02-07 | 2 | -14/+14 | |
| | ||||||
* | Add support for pickling ParseResults with protocols 2 and higher (default ↵ | Paul McGuire | 2016-02-06 | 3 | -5/+49 | |
| | | | | protocol in Py3 is 3) | |||||
* | Add CHANGES blurb for example fixes | Paul McGuire | 2016-01-27 | 1 | -0/+3 | |
| | ||||||
* | Cleanup examples, fix typo in fourFn.py, convert sample tests to use runTests | Paul McGuire | 2016-01-27 | 4 | -51/+40 | |
| | ||||||
* | Fixed ParseResults.asDict() to correctly convert nested ParseResults values ↵ | Paul McGuire | 2016-01-23 | 2 | -4/+12 | |
| | | | | | to dicts. Fixed ParseResults.__radd__ to return other+self if not adding to 0. | |||||
* | Updates to include default minutes and seconds in time of day if not given; ↵ | Paul McGuire | 2016-01-22 | 1 | -52/+62 | |
| | | | | handle both "day at time" and "time on day" ordering; conditionalize tests so module can be imported | |||||
* | Fix _trim_arity to distinguish between TypeErrors raised in parse actions ↵ | Paul McGuire | 2016-01-18 | 3 | -7/+42 | |
| | | | | and those raised during internal arity testing | |||||
* | More internal expression naming, in internal elements of infixNotation | Paul McGuire | 2016-01-01 | 2 | -4/+15 | |
| | ||||||
* | Added expression names for many internal and builtin expressions, to reduce ↵ | Paul McGuire | 2015-12-31 | 3 | -31/+89 | |
| | | | | name and error message overhead during parsing | |||||
* | Added new example parseTabularData.py | Paul McGuire | 2015-12-31 | 16 | -169/+191 | |
| | | | Updated several examples to more current Python and pyparsing practices (and better Py2/Py3 cross-compatibility) | |||||
* | Remove list comprehensions in favor of gen exprs | Paul McGuire | 2015-12-30 | 1 | -3/+3 | |
| | ||||||
* | Update wordsToNum.py example | Paul McGuire | 2015-12-25 | 1 | -19/+8 | |
| | | | | | - removed list comprehensions when gen expr is sufficient - changed ignore('-') to ignore(Literal('-')) - converted test code to use runTests | |||||
* | Fixed bug in ignore() (introduced in pyparsing 1.5.3) that would not accept ↵ | Paul McGuire | 2015-12-17 | 2 | -2/+8 | |
| | | | | a string literal as the ignore expression. | |||||
* | Fixed up implementations of __dir__ to reduce maintenance overhead, and fix ↵ | Paul McGuire | 2015-12-13 | 2 | -4/+6 | |
| | | | | 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 | 3 | -14/+26 | |
| | | | | MatchFirst, handling Unicode values in expressions. Fixes Unicode encoding issues in Python 2. | |||||
* | Simplified string representation of Forward, to avoid memory and performance ↵ | Paul McGuire | 2015-11-25 | 2 | -2/+10 | |
| | | | | issues during streamlining | |||||
* | Forgot to add new unit test to main test suite | Paul McGuire | 2015-11-10 | 1 | -0/+1 | |
| | ||||||
* | Fix bug in Each when containing an Optional that has a results name or parse ↵ | Paul McGuire | 2015-11-10 | 3 | -3/+15 | |
| | | | | action |