summaryrefslogtreecommitdiff
path: root/pyparsing/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Doc updates, remove references to deprecated delimitedList and ↵ptmcg2023-04-191-1/+6
| | | | delimited_list (use DelimitedList class)
* Fix stacklevel when warning invalid config setting; added assertWarns ↵ptmcg2022-11-061-1/+2
| | | | wrapper similar to assertRaises wrapper, to echo success/fail status
* Replace OrderedDict in FIFOCache with dict+key ringbufferptmcg2022-06-181-3/+8
|
* There will be blackptmcg2022-06-171-0/+1
|
* Explicitly declare compatibility alias functions (#414)Devin J. Pohly2022-06-171-40/+34
| | | | | This allows static type checkers to find and check these functions correctly, and it removes the need to fiddle around with stack frames to get the aliases defined.
* Docstring cleanups in col and lineno functionsptmcg2022-06-171-2/+2
|
* Fix docstring synonyms for parseString, scanString, et al.; refactor ↵ptmcg2022-06-171-12/+38
| | | | replaces_prePEP8_function decorator to handle new methods correctly
* Fix up docstrings for deprecated functions (doc as deprecated, instead of ↵ptmcg2022-06-161-1/+24
| | | | duplicating actual function doc) - issue #411
* Convert most str.format() calls to use f-stringsptmcg2022-05-301-10/+4
|
* Fix/ignore mypy attr-defined errors, where attr definitions are intentionalptmcg2022-05-291-3/+3
|
* Minor enhancement to Word generation of internal regular expression when ↵ptmcg2021-12-061-2/+3
| | | | characters are 2 consecutive chars
* Added type hints for col, line, and lineno public methods; plus blackptmcg2021-11-021-14/+16
|
* PEP-8 some internal namesptmcg2021-10-311-7/+6
|
* Fixup type annotationsptmcg2021-09-291-8/+8
|
* The blackeningptmcg2021-09-081-2/+6
|
* Only collapse re character ranges if they consist of more than 3 charactersptmcg2021-09-081-1/+3
|
* Only collapse re character ranges if they consist of 4 or more charactersptmcg2021-09-081-9/+12
|
* mypy cleanupptmcg2021-09-021-2/+4
|
* More informative exception messagesptmcg2021-08-091-1/+1
|
* Update __versionTime__; blacken core code and examplesptmcg2021-08-011-12/+16
|
* left recursion memo size may be limitedMax Fischer2021-06-281-0/+46
|
* minor perf changes IIptmcg2020-10-251-3/+5
|
* Issue #244, fixed debug output to indicate correct parse location; updated ↵Paul McGuire2020-10-111-1/+4
| | | | setDebug output to include current text line and parse location
* Docstring fixes; cleanup dead/Py2 vestigial codeptmcg2020-07-101-13/+2
|
* Restructure unit tests to do proper testing with and without packrat enabledptmcg2020-06-261-0/+2
|
* strRepr cleanup, remove replicated __str__ methodsPaul McGuire2020-06-201-1/+4
|
* Fix potential FutureWarning with generated regex; minor reformat of runTests ↵ptmcg2020-03-291-4/+4
| | | | output to break at test comments if any
* Docstring formatting changes (#197)Matt Carmody2020-03-291-2/+2
| | | | | | | * Tidy docstring formatting for lists and example codeblock * Add class references and formatting to docstrings * Experimental docstring formatting changes
* Shorten pyparsing tracebacks, to clear out internal pyparsing calls; plus ↵ptmcg2020-02-011-3/+5
| | | | some micro-optimizations when using packrat parsing
* Added new warning 'warn_on_match_first_with_lshift_operator' to warn when ↵ptmcg2020-01-261-1/+1
| | | | doing `fwd << a | b`; fixed potential FutureWarning when including unescaped '[' in a regex range definition.
* Break up pyparsing.py monolith into sub-modules in a pyparsing package (#162)Paul McGuire2019-11-181-0/+171
* 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