summaryrefslogtreecommitdiff
path: root/src/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
* Update oc.py example: fix regex for '==' operator, add packrat parsing and ↵HEADmasterptmcg2017-04-231-0/+7
| | | | | | function call as expression operand git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@463 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add minor enht for infixNotation, to accept a sequence of parse actions at ↵ptmcg2017-03-061-0/+3
| | | | | | each precedence level git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@460 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Prep for 2.2.0 releaseptmcg2017-03-031-0/+28
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@459 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add 2.1.10 release date to CHANGESptmcg2016-10-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@451 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in col, which allowed simplification of LineStart down to minimal ↵ptmcg2016-10-061-1/+3
| | | | | | implementation git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@447 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed behavior of LineStart; added AutoReset to other unit tests that modify ↵ptmcg2016-10-041-0/+5
| | | | | | global state in pyparsing; also, disable output buffering in unit tests when specific test classes are given to build the test suite git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@446 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix bug in ZeroOrMore results name reportingptmcg2016-09-281-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@444 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in ParseResults.dump when keys were not strings. Also changed ↵ptmcg2016-09-241-0/+5
| | | | | | display of string values to show them in quotes, to help distinguish parsed numeric strings from parsed integers that have been converted to Python ints. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@443 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added support for multiline test strings in runTestsptmcg2016-09-111-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@437 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix typo in doc string; add comment on support for ()'s in infixNotationptmcg2016-09-111-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@435 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Cleanup/notes in prep for 2.1.9 releaseptmcg2016-09-101-9/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@432 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix Py3 bug in ParseResults.getName; fixed bug in Keyword and ↵ptmcg2016-09-081-0/+6
| | | | | | CaselessKeyword when using setDefaultKeywordChars. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@429 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Copied upcaseTokens and downcaseTokens to pyparsing_common; renamed ↵ptmcg2016-08-261-0/+22
| | | | | | pyparsing_common's signedInteger and sciReal to signed_integer and sci_real git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@428 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added CloseMatch classptmcg2016-08-171-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@425 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Change log - reformat test comments for runTestsptmcg2016-08-141-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@421 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Simplified merging ParseResults from expressions in an Each; also fixed ↵ptmcg2016-08-131-0/+5
| | | | | | class hierarchy for OneOrMore vs. ZeroOrMore, which was causing ZeroOrMore expressions to be treated as required expressions in an Each git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@416 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add limit=n args to extract_stack and extract_tb calls, to minimize scanning ↵ptmcg2016-08-121-0/+5
| | | | | | through full call stack - trying to address UnicodeDecodeError exceptions from loading in more code than we need. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@415 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added inline doc example for ParserElement.setDebugptmcg2016-08-111-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@413 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in ParserElement.inlineLiteralsUsing, causing infinite loop with ↵ptmcg2016-08-111-0/+6
| | | | | | | | Suppress; added AutoReset context manager class to unit tests, for saving/resetting global state when tests need to change globals git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@412 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Update changelog with Iterable improvements to oneOfptmcg2016-08-111-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@410 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix regression when using packrat parsing and raising ParseSyntaxException ↵ptmcg2016-08-091-0/+7
| | | | | | in And._ErrorStop. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@403 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in upcaseTokens and downcaseTokens introduced in 2.1.5, when the ↵ptmcg2016-08-051-3/+8
| | | | | | parse action was used in conjunction with results names git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@388 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add inline examples to docstrings, so that reference docs will show sample ↵ptmcg2016-08-051-0/+8
| | | | | | code along with arg and usage descriptions - hopefully this will make them generally more useful, or at least a little less dry. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@387 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Deprecated ParseResults.asXML ptmcg2016-08-051-0/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@386 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Updated traceParseAction to use repr of input/output tokens instead of strptmcg2016-08-051-0/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@385 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Rename pyparsing_common's "numeric" and "number" expressions to "number" and ↵ptmcg2016-08-051-0/+10
| | | | | | "fnumber", to better indicate which expression forces conversion to float (that is fnumber) git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@384 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* LRU rework to use OrderedDict instead, better cross-version Python ↵ptmcg2016-08-041-9/+7
| | | | | | compatibility. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@382 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Final code cleanup for adding lru_cache. Removed DictCache wrapper on dict, ↵ptmcg2016-07-271-0/+10
| | | | | | just changed LruDictCache look more dict-like. Made container cacheing a little more explicit with variable names and comments. Added note to CHANGES file. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@377 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in pyparsing_common.numeric, integers were parsed as floatsptmcg2016-06-181-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@371 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added ParserElement.split() generator methodptmcg2016-06-131-0/+5
| | | | | | Also fixed minor blip in originalTextFor, to inherit ignored exprs from the embedded expression. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@369 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Change result value returned by runTests to be a list of (test,result) tuplesptmcg2016-06-121-1/+3
| | | | | | | | | 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 git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@364 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add support in pyparsing_common for fractions and mixed integer-fraction valuesptmcg2016-06-081-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@361 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added pyparsing_common.stripHTMLTags; added links to pyparsing_common docstring ptmcg2016-06-021-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@360 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added new numerics.py exampleptmcg2016-05-251-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@359 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added tokenMap parse action helper; general code cleanup; renamed ↵ptmcg2016-05-241-3/+28
| | | | | | literalStringClass to _literalStringClass throughout git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@358 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Updated comments in pyparsing_common and CHANGESptmcg2016-05-181-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@357 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* runTests changes: made parseAll=True the default; added support for failure ↵ptmcg2016-05-181-0/+8
| | | | | | | | tests; always return success,results tuple revamp unitTests to use new failureTests arg git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@355 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add UUID to pyparsing_commonptmcg2016-05-181-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@354 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added more expressions to pyparsing_common: IPv4 and IPv6 addresses ↵ptmcg2016-05-181-1/+10
| | | | | | (including long, short, and mixed forms of IPv6; MAC address; ISO8601 date and date time strings git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@353 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added 'fatal' option to addCondition; enhancements to runTests, and added ↵ptmcg2016-05-131-3/+7
| | | | | | unit test for runTests git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@348 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Minor enhancement to traceParseAction decorator, to retain the parse ↵ptmcg2016-05-131-1/+4
| | | | | | | | action's name for the trace output Some rework of unitTests.py, to simplify test suite building git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@346 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Split out the '==' behavior in ParserElement, now implemented as the ↵ptmcg2016-05-121-0/+19
| | | | | | | | | | 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. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@344 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Notes on _trim_arity fixptmcg2016-05-111-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@342 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed similar backtracking issues in the C and C++ style commentsptmcg2016-04-291-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@336 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed catastrophic regex backtracking in implementation of the quoted string ↵ptmcg2016-04-291-0/+5
| | | | | | expressions (dblQuotedString, sglQuotedString, and quotedString) git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@335 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix bug in _trim_arity when pyparsing is part of a PyInstaller (which leaves ↵ptmcg2016-04-221-1/+7
| | | | | | out the source code), replaced using traceback module extract_stack/extract_tb calls. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@334 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added default behavior to QuotedString to convert embedded '\t', '\n', etc. ↵ptmcg2016-03-191-0/+4
| | | | | | characters to their whitespace counterparts; added support in new init arg, convertWhitespaceEscapes. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@330 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in ParseResults.toDict(), in which dict values were always ↵ptmcg2016-03-061-0/+4
| | | | | | converted to dicts, even if they were just unkeyed lists of tokens. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@329 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in Each introduced in 2.1.0ptmcg2016-02-231-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@328 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in SkipTo when using failOn; replaced explicit references to ↵ptmcg2016-02-221-0/+2
| | | | | | obj.__dict__ with vars(obj) (several places); tightened up unit tests for SkipTo git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@327 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b