summaryrefslogtreecommitdiff
path: root/pyparsing_py3.py
Commit message (Collapse)AuthorAgeFilesLines
* Add ungroup; add excludeChars arg to Word; package for 1.5.6 releasepyparsing_1.5.6@211ptmcg2011-06-261-15/+29
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@211 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix up code in _trim_arity to use nonlocal (was commented out for Py2 ↵ptmcg2011-05-201-2/+2
| | | | | | compatibility, no longer necessary) git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@210 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Apply changes to fix memory leak in Python 3 caused by cacheing exceptionsptmcg2011-05-021-262/+87
| | | | | | | | Removed tabs as indentation Fixed srange syntax for hex characters to support \x intro vs \0x Removed Python2-specific code from pyparsing_py3 git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@209 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* - Replaced normalizeParseActionArgs with _trim_arity, more robust across ↵ptmcg2011-05-011-172/+130
| | | | | | | | | | | | | | impls/versions; submitted by Raymond Hettinger - Fixed packratting bug that repeated values in parsed output - Reinstated fix to not fail with parseAll=True if trailing mismatch consisted solely of ignorable expressions - Added overlap arg to scanString, to locate overlapping matches - Improved performance in transformString - Added support for trailing '*' in results names to indicate listAllMatches=True - Added intExpr arg to countedArray, allowing the caller to provide a custom leading integer expression - General epydoc formatting updates git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@207 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Changes for pyparsing 1.5.5 (just fixing builtins ref in PY3 version)pyparsing_1.5.5@206ptmcg2011-05-011-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@206 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Prep for 1.5.4 releaseptmcg2010-08-101-109/+134
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@203 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Additional fixes for Python 3 compatibilityptmcg2010-08-011-2/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@201 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add fix to originalTextFor to not include any trailing comments or ignorable ↵pyparsing_1.5.3@200ptmcg2010-06-241-21/+19
| | | | | | text git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@200 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Packaging for 1.5.3 releaseptmcg2010-06-231-13/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@199 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix token locations passed to parse actions, to not include leading whitespaceptmcg2010-06-151-55/+67
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@197 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix indentation errorptmcg2010-05-261-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@196 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added better support for sum(ParseResults)ptmcg2010-05-171-39/+67
| | | | | | | Fixed off-by-one bug in line() Added ability to compose a Regex using a compiled RE git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@192 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Updated for Py3 compatibilityptmcg2010-02-251-16/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@191 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Changes for pyparsing version 1.5.2ptmcg2009-04-131-41/+49
| | | | | | | scanString handles zero-length parsed results "except" statements are more Py3K-friendly git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@181 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Updates submitted through pastebin, submitted by Patrick Labanptmcg2009-03-301-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@180 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Removed __slots__ declaration on ParseBaseException, for compatibility with ↵ptmcg2009-02-181-33/+45
| | | | | | IronPython 2.0.1. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@179 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in SkipTo when ignore argument is found at the beginning of the ↵ptmcg2008-12-201-9/+19
| | | | | | | | | range of text to be skipped. Fixed docstring in White class. Fixed obscure bug when calling __getitem__ of an object that replaces ParseResults during a parse action. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@176 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added support for generator expressions when manually creating And, Or, ↵ptmcg2008-11-081-15/+31
| | | | | | | | | | MatchFirst, or Each objects Clean up exception stack traces returned to caller Fix ignoreExpr handling in SkipTo git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@173 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Updated for version 1.5.1 releaseptmcg2008-10-181-62/+131
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@167 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add Py3K compatible version of pyparsingptmcg2008-06-011-0/+3601
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/src@155 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b