| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* Added min/max keyword arguments for delimited_list
* Rename arguments and add validation
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Merge pull request #285 - Add allowTrailingDelim to delimitedList helper
|
|
|
|
|
|
|
| |
* Add .ignoreWhitespace() method
* Add recursive arg to leave- and ignoreWhitespace(), with tests
* Add tests and implementation of the recursive flag
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
countedArray (#209)
* Pop counter token and return rest instead of dropping all tokens
* Include only named results from intExpr in countedArray results
* Remove internal Group from countedArray
* Fix operator precedence
* Update countedArray tests
|
|
|
|
| |
unit test; change TestParseResultsAsserts to mixin instead of subclass; rollforward 2.4.6 CHANGES blurb from 2.4.6 branch
|
| |
|
|
|
|
| |
replace most resetting() context managers and try-finallys with ppt.reset_pyparsing_context
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pyupgrade project is available at
https://github.com/asottile/pyupgrade and can be installed through pip.
The pyupgrade tool automatically upgrades syntax for newer versions of
the language. As pyparsing is now Python 3 only, can apply some cleanups
and simplifications. Ran the tool using the following command:
$ find . -name \*.py -exec pyupgrade --py3-plus {} \;
For now, pyparsing.py was skipped while it is refactored to a package.
|
|
|