Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doc updates, remove references to deprecated delimitedList and ↵ | ptmcg | 2023-04-19 | 1 | -2/+2 |
| | | | | delimited_list (use DelimitedList class) | ||||
* | Fix #470 - Removed "" from the list of values that ParseResults will not ↵ | ptmcg | 2023-03-27 | 1 | -1/+1 |
| | | | | save with a results name | ||||
* | Black formatting | ptmcg | 2023-03-07 | 1 | -3/+9 |
| | |||||
* | Add ParseResults.deepcopy() - fixes #463 | ptmcg | 2023-03-06 | 1 | -2/+27 |
| | |||||
* | Add type annotations | ptmcg | 2022-07-14 | 1 | -2/+10 |
| | |||||
* | More post-cleanup from removing weakref on ParseResults._parent | ptmcg | 2022-07-11 | 1 | -18/+12 |
| | |||||
* | Change weakref _parent reference in ParseResults to regular reference, to ↵ | ptmcg | 2022-07-11 | 1 | -11/+10 |
| | | | | avoid early gc of a parent object - fixes #428 | ||||
* | Some micro-optimizations | ptmcg | 2022-07-09 | 1 | -2/+3 |
| | |||||
* | Simplify code that incrementally builds a ParseResults | ptmcg | 2022-06-23 | 1 | -1/+4 |
| | |||||
* | Fix up docstrings for deprecated functions (doc as deprecated, instead of ↵ | ptmcg | 2022-06-16 | 1 | -0/+3 |
| | | | | duplicating actual function doc) - issue #411 | ||||
* | fix Sphinx errors/warnings (#410) | Devin J. Pohly | 2022-06-10 | 1 | -2/+2 |
| | | | | | | Two warnings remain from the Hebrew and Devanagari names in pyparsing_unicode, but those are due to Sphinx using Python's builtin `re` library to parse identifiers (which does not have thorough Unicode handling for `\w`). | ||||
* | Convert most str.format() calls to use f-strings | ptmcg | 2022-05-30 | 1 | -8/+5 |
| | |||||
* | Update docstrings, replacing ZeroOrMore and OneOrMore with [...] and [1, ↵ | ptmcg | 2022-04-11 | 1 | -4/+4 |
| | | | | ...] notation | ||||
* | Clean up dump() examples in docstrings | ptmcg | 2022-02-15 | 1 | -9/+9 |
| | |||||
* | Some code cleanup, replacing map() calls with list comprehensions; better ↵ | ptmcg | 2022-01-02 | 1 | -2/+4 |
| | | | | typing for debug actions using typing.NamedTuple; using list comps in "".join calls | ||||
* | Semi-fix collision of Dict and typing.Dict; Some mypy types cleanuppyparsing_3.0.5 | ptmcg | 2021-11-07 | 1 | -1/+1 |
| | |||||
* | Fixed bug where ParseResults accidentally created recursive contents. (Issue ↵pyparsing_3.0.1 | ptmcg | 2021-10-24 | 1 | -1/+4 |
| | | | | #315) | ||||
* | Clean up bullet lists in docstrings | ptmcg | 2021-10-02 | 1 | -3/+3 |
| | |||||
* | Add return types in results.py, and small perf change in __bool__ | ptmcg | 2021-09-22 | 1 | -5/+4 |
| | |||||
* | Code cleanup: replaced dynamic attrs in ParseBaseException with properties, ↵ | ptmcg | 2021-09-21 | 1 | -14/+14 |
| | | | | some addtional type annotations | ||||
* | Fix ParseResults return of "" for dunder methods, which breaks some Python ↵ | ptmcg | 2021-09-19 | 1 | -0/+2 |
| | | | | internals (Issue #208) | ||||
* | Handle types passed to ParseResults (Py3.9 behavior change) (#276) | ptmcg | 2021-09-09 | 1 | -1/+1 |
| | |||||
* | Small perf tweaks | ptmcg | 2021-09-02 | 1 | -2/+2 |
| | |||||
* | mypy cleanup | ptmcg | 2021-09-02 | 1 | -2/+3 |
| | |||||
* | Sweep code for calls using legacy names | ptmcg | 2021-08-08 | 1 | -1/+1 |
| | |||||
* | Add PEP-8 naming, with compatibility synonyms | ptmcg | 2021-08-07 | 1 | -50/+54 |
| | |||||
* | Fix internal bug in ParseResults.getName() (how did this ever work?) | ptmcg | 2021-08-01 | 1 | -1/+1 |
| | |||||
* | Update __versionTime__; blacken core code and examples | ptmcg | 2021-08-01 | 1 | -30/+36 |
| | |||||
* | fixed a bug for non-string token identifiers | Max Fischer | 2021-06-26 | 1 | -1/+1 |
| | |||||
* | #271 - remove comparison with bytes in ParseResults._null_values | ptmcg | 2021-04-13 | 1 | -1/+1 |
| | |||||
* | Hide internal null_values list in ParseResults class | ptmcg | 2020-12-24 | 1 | -2/+2 |
| | |||||
* | minor perf changes II | ptmcg | 2020-10-25 | 1 | -2/+2 |
| | |||||
* | minor perf changes | ptmcg | 2020-10-25 | 1 | -13/+9 |
| | |||||
* | ParseResults.List class to support returning an actual list from a parse ↵ | ptmcg | 2020-10-24 | 1 | -6/+58 |
| | | | | action, plus aslist and asdict args to Group and Dict classes to emit native Python types instead of ParseResults; also update repr() output of ParseResults to include the type name instead of just a bare tuple. | ||||
* | Replace last-century '%' string interp with .format() usage | Paul McGuire | 2020-07-19 | 1 | -6/+7 |
| | |||||
* | Docstring fixes; cleanup dead/Py2 vestigial code | ptmcg | 2020-07-10 | 1 | -1/+1 |
| | |||||
* | Docstrings cleanup; add 'encoding' argument to parseFile; additional unit ↵ | ptmcg | 2020-07-08 | 1 | -12/+6 |
| | | | | tests to improve ParseResults coverage | ||||
* | Sphinx and docstring fixes | ptmcg | 2020-07-06 | 1 | -10/+20 |
| | |||||
* | Fix ParseResults.dump() to show both keys *and* lower-level structures | ptmcg | 2020-06-08 | 1 | -1/+1 |
| | |||||
* | Fixed bug in ParseResults repr() which showed all matching entries for a ↵ | ptmcg | 2020-04-10 | 1 | -1/+1 |
| | | | | results name, even if listAllMatches was set to False (Issue #205) | ||||
* | Cleanup (object) from class definitions; add __slots__ to ↵ | Paul McGuire | 2020-02-23 | 1 | -5/+13 |
| | | | | _ParseResultsWithOffset, and streamline args for ParseResults.__new__ | ||||
* | Rename (#179) | Kyle Lahnakoski | 2020-02-23 | 1 | -84/+87 |
| | | | | | | | | | | | | | | * change names of vars * add `__slots__` * remove doinit, use `__new__` * use set, not dict * black formatting * shorter names, but keep descriptive names | ||||
* | Shorten pyparsing tracebacks, to clear out internal pyparsing calls; plus ↵ | ptmcg | 2020-02-01 | 1 | -1/+1 |
| | | | | some micro-optimizations when using packrat parsing | ||||
* | Break up pyparsing.py monolith into sub-modules in a pyparsing package (#162) | Paul McGuire | 2019-11-18 | 1 | -0/+679 |
* Break up pyparsing.py monolith into sub-modules in a pyparsing package * Convert relative imports to absolutes * Reference submodule pyparsing in setup.py modules * Remove recursive import of pyparsing from setup.py * Black updates * setup.py updates - packages vs. modules. use .dev1 for the version |