pyparsing 3.2.4 #617
ptmcg
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
DeprecationWarningswhen 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
Wordexpression (either by using the explicitcopy()method, or attaching a results name), and setting a new expression name, a raisedParseExceptionstill used the original expression name. Also affectedRegexexpressions withas_matchoras_group_list= True. Reported by Waqas Ilyas, in Issue ParseElement.copy() result refers to previous instanceΒ #612 - good catch!Fixed type annotation for
replace_with, to acceptAnytype. Fixes Issuereplace_withhas incorrect argument typingΒ #602, reported by esquonk.Added locking around potential race condition in
ParserElement.reset_cache, as well as other cache-related methods. Fixes Issue Concurrency issue on Cache when packrat is enabled.Β #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!
This discussion was created from the release pyparsing 3.2.4.
Beta Was this translation helpful? Give feedback.
All reactions