Opened 7 months ago
Closed 7 months ago
#20271 closed enhancement (fixed)
pyparsing-3.1.4 (Python module)
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 12.3 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New point version.
Change History (3)
comment:1 by , 7 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 months ago
comment:3 by , 7 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commits
ba90277183 Update to pyparsing-3.1.4 (Python module). 1cef5ac964 Update to xfsprogs-6.10.0. 4acf92b5cc Update to wireshark-4.4.0. ee74c8a50b Update to libpcap-1.10.5 (Security fix). 478bd95e65 Update to mupdf-1.24.9.
Note:
See TracTickets
for help on using tickets.
Version 3.1.4 - August, 2024
re.Pattern
. Since this type was introduced in Python 3.7, using this type definition broke Python 3.6 installs of pyparsing.Version 3.1.3 - August, 2024
Tag
ParserElement, for inserting metadata into the parsed results. This allows a parser to add metadata or annotations to the parsed tokens. TheTag
element also accepts an optionalvalue
parameter, defaulting toTrue
. See the newtag_metadata.py
example in theexamples
directory.mongodb_query_expression.py
, to convert human-readable infix query expressions (such asa==100 and b>=200
) and transform them into the equivalent query argument for the pymongo package ({'$and': [{'a': 100}, {'b': {'$gte': 200}}]}
). Supports many equality and inequality operators - see the docstring for thetransform_query
function for more examples.ParserElement
static methods were not themselves defined asstaticmethods
. When called using aParserElement
instance, this resulted in aTypeError
exception.ParserElement.name
property, to callParserElement.set_name
.ParserElement.set_name()
to accept a None value, to clear the defined name and corresponding error message for aParserElement
.ZeroOrMore
andOneOrMore
expressions withstop_on
expressions<META>
tag to HTML generated for railroad diagrams to force UTF-8 encoding with older browsers, to better display Unicode parser characters.show_groups
=Falseshow_results_names
=Truetrace_parse_action
exception outputset_name
calls to internal expressions generated ininfix_notation
, for improved railroad diagramming.delta_time
,lua_parser
,decaf_parser
, androman_numerals
examples cleaned up to use latest PEP8 names and add minor enhancements.delta_time
example that did not handle weekday references in time expressions (like "Monday at 4pm") when the weekday was the same as the current weekday.trim_arity
, to benefit any parsers using parse actions.