Barring any catastrophic bugs in this release, this will be the last release in the 3.2.x line. The next release, 3.3.0, will begin emitting DeprecationWarnings
when the pre-PEP8 methods are used (see header notes above for more information, including available automation for converting any existing code using pyparsing with the old names).
-
Fixed bug when using a copy of a
Word
expression (either by using the explicitcopy()
method, or attaching a results name), and setting a new expression name, a raisedParseException
still used the original expression name. Also affectedRegex
expressions withas_match
oras_group_list
= True. Reported by Waqas Ilyas, in Issue #612 - good catch! -
Fixed type annotation for
replace_with
, to acceptAny
type. Fixes Issue #602, reported by esquonk. -
Added locking around potential race condition in
ParserElement.reset_cache
, as well as other cache-related methods. Fixes Issue #604, reported by CarlosDescalziIM. -
Substantial update to docstrings and doc generation in preparation for 3.3.0, great effort by FeRD, thanks!
-
Notable addition by FeRD to convert docstring examples to work with doctest! This was long overdue, thanks so much!