Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move src to root | Cengiz Kaygusuz | 2017-11-20 | 1 | -3675/+0 |
| | |||||
* | Add minor enht for infixNotation, to accept a sequence of parse actions at ↵ | Paul McGuire | 2017-03-06 | 1 | -1/+70 |
| | | | | each precedence level | ||||
* | Fix deprecated use of '\' as described in https://bugs.python.org/issue27364 ↵ | Paul McGuire | 2017-02-28 | 1 | -3/+3 |
| | | | | (Deprecated in Python 3.6, will become SyntaxError in a future release) | ||||
* | Fixed bug in col, which allowed simplification of LineStart down to minimal ↵ | Paul McGuire | 2016-10-06 | 1 | -2/+38 |
| | | | | implementation | ||||
* | Fixed behavior of LineStart; added AutoReset to other unit tests that modify ↵ | Paul McGuire | 2016-10-04 | 1 | -23/+82 |
| | | | | global state in pyparsing; also, disable output buffering in unit tests when specific test classes are given to build the test suite | ||||
* | Fix all bare 'except:' statements in pyparsing; add more 'n-or-more' unit tests | Paul McGuire | 2016-10-02 | 1 | -1/+6 |
| | |||||
* | Fix bug in ZeroOrMore results name reporting | Paul McGuire | 2016-09-28 | 1 | -0/+15 |
| | |||||
* | Remove all uses of 'eval' | Paul McGuire | 2016-09-15 | 1 | -4/+9 |
| | |||||
* | Minor changes to unitTests.py | Paul McGuire | 2016-09-15 | 1 | -4/+1 |
| | |||||
* | Add tests of sci_real | Paul McGuire | 2016-09-11 | 1 | -0/+8 |
| | |||||
* | Cleanup/notes in prep for 2.1.9 release | Paul McGuire | 2016-09-10 | 1 | -0/+8 |
| | |||||
* | Simpler API to AutoReset context manager for testing | Paul McGuire | 2016-09-09 | 1 | -25/+29 |
| | |||||
* | Minor rework to unitTest - suppresses test output unless there is an exception | Paul McGuire | 2016-09-09 | 1 | -23/+41 |
| | |||||
* | Fix Py3 bug in ParseResults.getName; fixed bug in Keyword and ↵ | Paul McGuire | 2016-09-08 | 1 | -1/+64 |
| | | | | CaselessKeyword when using setDefaultKeywordChars. | ||||
* | Copied upcaseTokens and downcaseTokens to pyparsing_common; renamed ↵ | Paul McGuire | 2016-08-26 | 1 | -0/+10 |
| | | | | pyparsing_common's signedInteger and sciReal to signed_integer and sci_real | ||||
* | Added CloseMatch class | Paul McGuire | 2016-08-17 | 1 | -0/+28 |
| | |||||
* | Simplified merging ParseResults from expressions in an Each; also fixed ↵ | Paul McGuire | 2016-08-13 | 1 | -0/+44 |
| | | | | class hierarchy for OneOrMore vs. ZeroOrMore, which was causing ZeroOrMore expressions to be treated as required expressions in an Each | ||||
* | Add limit=n args to extract_stack and extract_tb calls, to minimize scanning ↵ | Paul McGuire | 2016-08-12 | 1 | -0/+52 |
| | | | | through full call stack - trying to address UnicodeDecodeError exceptions from loading in more code than we need. | ||||
* | Fixed bug in ParserElement.inlineLiteralsUsing, causing infinite loop with ↵ | Paul McGuire | 2016-08-11 | 1 | -0/+49 |
| | | | | | Suppress; added AutoReset context manager class to unit tests, for saving/resetting global state when tests need to change globals | ||||
* | oneOf test cleanup | Paul McGuire | 2016-08-11 | 1 | -5/+5 |
| | |||||
* | Add support for all iterables (sets, generators, etc.) to oneOf and ↵ | Paul McGuire | 2016-08-11 | 1 | -0/+18 |
| | | | | ParseExpression | ||||
* | Fix regression when using packrat parsing and raising ParseSyntaxException ↵ | Paul McGuire | 2016-08-09 | 1 | -0/+18 |
| | | | | in And._ErrorStop. | ||||
* | Fixed bug in upcaseTokens and downcaseTokens introduced in 2.1.5, when the ↵ | Paul McGuire | 2016-08-05 | 1 | -0/+5 |
| | | | | parse action was used in conjunction with results names | ||||
* | Rename pyparsing_common's "numeric" and "number" expressions to "number" and ↵ | Paul McGuire | 2016-08-05 | 1 | -3/+3 |
| | | | | "fnumber", to better indicate which expression forces conversion to float (that is fnumber) | ||||
* | Typo in Jython-specific unit test | Paul McGuire | 2016-07-27 | 1 | -1/+1 |
| | |||||
* | Typo in Jython-specific unit test | Paul McGuire | 2016-07-27 | 1 | -1/+1 |
| | |||||
* | Tweak unicode ranges for Jython 2.7.0 compatibility | Paul McGuire | 2016-07-27 | 1 | -2/+6 |
| | |||||
* | Remove pprint import; convert to use ParseResults.pprint methods | Paul McGuire | 2016-07-27 | 1 | -3/+2 |
| | |||||
* | Put test case classes back in order, as they are defined in the source ↵ | Paul McGuire | 2016-07-26 | 1 | -0/+4 |
| | | | | module; makes test results evaluation easier | ||||
* | Fixed bug in pyparsing_common.numeric, integers were parsed as floats | Paul McGuire | 2016-06-18 | 1 | -0/+12 |
| | |||||
* | Added ParserElement.split() generator method | Paul McGuire | 2016-06-13 | 1 | -0/+96 |
| | | | Also fixed minor blip in originalTextFor, to inherit ignored exprs from the embedded expression. | ||||
* | Fix test file path (change '\' to '/') | Paul McGuire | 2016-06-12 | 1 | -1/+1 |
| | |||||
* | Change result value returned by runTests to be a list of (test,result) tuples | Paul McGuire | 2016-06-12 | 1 | -68/+134 |
| | | | | | | 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 support in pyparsing_common for fractions and mixed integer-fraction values | Paul McGuire | 2016-06-08 | 1 | -8/+29 |
| | |||||
* | Added tokenMap parse action helper; general code cleanup; renamed ↵ | Paul McGuire | 2016-05-24 | 1 | -1/+12 |
| | | | | literalStringClass to _literalStringClass throughout | ||||
* | runTests changes: made parseAll=True the default; added support for failure ↵ | Paul McGuire | 2016-05-18 | 1 | -15/+30 |
| | | | | | tests; always return success,results tuple revamp unitTests to use new failureTests arg | ||||
* | Add UUID to pyparsing_common | Paul McGuire | 2016-05-18 | 1 | -0/+1 |
| | |||||
* | Added more expressions to pyparsing_common: IPv4 and IPv6 addresses ↵ | Paul McGuire | 2016-05-18 | 1 | -0/+83 |
| | | | | (including long, short, and mixed forms of IPv6; MAC address; ISO8601 date and date time strings | ||||
* | Added 'fatal' option to addCondition; enhancements to runTests, and added ↵ | Paul McGuire | 2016-05-13 | 1 | -1/+57 |
| | | | | unit test for runTests | ||||
* | Minor enhancement to traceParseAction decorator, to retain the parse ↵ | Paul McGuire | 2016-05-13 | 1 | -63/+27 |
| | | | | | action's name for the trace output Some rework of unitTests.py, to simplify test suite building | ||||
* | 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 catastrophic regex backtracking in implementation of the quoted string ↵ | Paul McGuire | 2016-04-29 | 1 | -1/+16 |
| | | | | expressions (dblQuotedString, sglQuotedString, and quotedString) | ||||
* | Fixed bug in ParseResults.toDict(), in which dict values were always ↵ | Paul McGuire | 2016-03-06 | 1 | -0/+35 |
| | | | | 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 | -0/+21 |
| | |||||
* | Fixed bug in SkipTo when using failOn; replaced explicit references to ↵ | Paul McGuire | 2016-02-22 | 1 | -6/+10 |
| | | | | obj.__dict__ with vars(obj) (several places); tightened up unit tests for SkipTo | ||||
* | Added support for assigning to ParseResults using slices; reimplemented ↵ | Paul McGuire | 2016-02-15 | 1 | -1/+9 |
| | | | | 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 | ||||
* | Removed deprecated class Upcase and deprecated class keepOriginalText; ↵ | Paul McGuire | 2016-02-07 | 1 | -20/+20 |
| | | | | updated examples to remove those symbols, and to replace operatorPrecedence with infixNotation | ||||
* | Add support for pickling ParseResults with protocols 2 and higher (default ↵ | Paul McGuire | 2016-02-06 | 1 | -4/+36 |
| | | | | protocol in Py3 is 3) | ||||
* | Fix _trim_arity to distinguish between TypeErrors raised in parse actions ↵ | Paul McGuire | 2016-01-18 | 1 | -1/+15 |
| | | | | and those raised during internal arity testing |