summaryrefslogtreecommitdiff
path: root/pyparsing/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix some type annotations; fixes Issue #456ptmcg2022-12-221-1/+3
|
* Add type annotationsptmcg2022-07-141-0/+6
|
* Some micro-optimizationsptmcg2022-07-091-2/+19
|
* Added python_quoted_string; fixed exception messages for ParseElementEnhance ↵ptmcg2022-06-291-1/+3
| | | | subclasses
* Remove assignment to __class__ in Word, remove internal _WordRegex classptmcg2022-06-241-1/+1
|
* Explicitly declare compatibility alias functions (#414)Devin J. Pohly2022-06-171-2/+6
| | | | | 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.
* Cleanup docstrings using replaces_prePEP8_function decorator; and blackptmcg2022-06-161-1/+7
|
* More docstring fixup, in exceptions.py - issue #411ptmcg2022-06-161-3/+2
|
* Convert most str.format() calls to use f-stringsptmcg2022-05-301-10/+6
|
* Don't import Optional from typing, import the whole module. (#386)Dominic Davis-Foster2022-04-111-2/+2
| | | Addresses mypy confusion of pyparsing Optional and typing.Optional
* PEP-8 some internal namesptmcg2021-10-311-2/+2
|
* Added parser_element to synonymize with parserElement in ParseBaseExceptionptmcg2021-10-221-1/+1
|
* Clean up bullet lists in docstringsptmcg2021-10-021-8/+8
|
* Code cleanup: replaced dynamic attrs in ParseBaseException with properties, ↵ptmcg2021-09-211-32/+45
| | | | some addtional type annotations
* Adding type annotationsptmcg2021-08-231-1/+3
|
* More informative exception messagesptmcg2021-08-091-4/+18
|
* Add PEP-8 naming, with compatibility synonymsptmcg2021-08-071-18/+7
|
* Update __versionTime__; blacken core code and examplesptmcg2021-08-011-9/+14
|
* Replace last-century '%' string interp with .format() usagePaul McGuire2020-07-191-7/+3
|
* Sphinx and docstring fixesptmcg2020-07-061-15/+14
|
* More thorough ParseException.explain testingptmcg2020-06-251-2/+2
|
* Collapse _checkRecursion methods; moved 3.0.0 summary from CHANGES to ↵ptmcg2020-06-251-0/+15
| | | | whats_new_in_3_0_0.rst; cleaned up docstrings, Word() examples, restored setName() docstring; added example to ParseException.explain()
* Convert internal imports to relative imports, to support projects that ↵ptmcg2020-05-131-1/+1
| | | | vendor pyparsing
* Enhanced error messages and error locations when parsing fails on the ↵ptmcg2020-04-031-0/+1
| | | | Keyword or CaselessKeyword classes due to the presence of a preceding or trailing keyword character. See issue #201.
* Refactor ParseException explain() static method into a staticmethod and an ↵Paul McGuire2020-03-311-73/+87
| | | | instance method on ParseBaseException
* Break up pyparsing.py monolith into sub-modules in a pyparsing package (#162)Paul McGuire2019-11-181-0/+219
* 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