Opened 11 months ago
Closed 11 months ago
#21332 closed enhancement (fixed)
pyparsing-3.2.2 (Python Module)
| Reported by: | Douglas R. Reno | Owned by: | Bruce Dubbs |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.4 |
| Component: | BOOK | Version: | git |
| Severity: | normal | Keywords: | |
| Cc: |
Description
New point version
Change History (3)
comment:1 by , 11 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 11 months ago
comment:3 by , 11 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed at commits
f0c65a3d73 Update to unrar-7.1.6. 032c82bf14 Update to pyparsing-3.2.2 (Python Module). da9440fca8 Update to libevdev-1.13.4.
Note:
See TracTickets
for help on using tickets.

Version 3.2.2 - March, 2025
cvt_pyparsing_pep8_names.pyconversion utility to upgrade pyparsing-based programs and libraries that use legacy camelCase names to use the new PEP8-compliant snake_case method names. The converter can also be imported into other scripts asnested_exprwhere nested contents were stripped of whitespace when the default whitespace characters were cleared (raised in this StackOverflow question https://stackoverflow.com/questions/79327649). Also addressed bug in resolving PEP8 compliant argument name and legacy argument name.rest_of_lineand the underlyingRegexclass, in which matching a pattern that could match an empty string (such as".*"or"[A-Z]*"would not raise aParseExceptionat or beyond the end of the input string. This could cause an infinite parsing loop when parsingrest_of_lineat the end of the input string.pyparsing.util.make_compressed_re- see usage inexamples/complex_chemical_formulas.pyand result in the generated railroad diagramexamples/complex_chemical_formulas_diagram.html. Properly escapes characters like "." and "*" that have special meaning in regular expressions.one_of()to properly escape characters that are regular expression markers (such as '*', '+', '?', etc.) before building the internal regex.MatchFirstandOrexpressions, showing all alternatives rather than just the first one.__init__()methods, to satisfymypy --stricttype checking. PR submitted by FeRD, thank you!show_hiddentocreate_diagramto show elements that are used internally by pyparsing, but are not part of the actual parser grammar. For instance, theTagclass can insert values into the parsed results but it does not actually parse any input, so by default it is not included in a railroad diagram. By callingcreate_diagramwithshow_hidden=True, these internal elements will be included. (You can see this in the tag_metadata.py script in the examples directory.)number_words.pyexample. Also addedebnf_number_words.pyto demonstrate using theebnf.pyEBNF parser generator to build a similar parser directly from EBNF.bigquery_view_parser.py, invalid escape sequence "\s".