Overview

Request 1198050 accepted

- update to 3.1.4:
* Fix to type annotation that referenced `re.Pattern`. Since
this type was introduced in Python 3.7, using this type
definition broke Python 3.6 installs of pyparsing.
* Added new `Tag` ParserElement, for inserting metadata into
the parsed results.
This allows a parser to add metadata or annotations to the
parsed tokens.
* The `Tag` element also accepts an optional `value`
parameter, defaulting to `True`.
See the new `tag_metadata.py` example in the `examples`
directory.
* Fixed issue where PEP8 compatibility names for
`ParserElement` static methods were
not themselves defined as `staticmethods`. When called
using a `ParserElement` instance, this resulted in a
`TypeError` exception.
* To address a compatibility issue in RDFLib, added a property
setter for the `ParserElement.name` property, to call
`ParserElement.set_name`.
* Modified `ParserElement.set_name()` to accept a None value,
to clear the defined name and corresponding error message for
a `ParserElement`.
* Updated railroad diagram generation for `ZeroOrMore` and
`OneOrMore` expressions with `stop_on` expressions, while
investigating #558
* Added exception type to `trace_parse_action` exception
output, while investigating SO question posted by medihack.
* Added `set_name` calls to internal expressions generated in
`infix_notation`, for improved railroad diagramming.

Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 3.1.4:
* Fix to type annotation that referenced `re.Pattern`. Since
this type was introduced in Python 3.7, using this type
definition broke Python 3.6 installs of pyparsing.
* Added new `Tag` ParserElement, for inserting metadata into
the parsed results.
This allows a parser to add metadata or annotations to the
parsed tokens.
* The `Tag` element also accepts an optional `value`
parameter, defaulting to `True`.
See the new `tag_metadata.py` example in the `examples`
directory.
* Fixed issue where PEP8 compatibility names for
`ParserElement` static methods were
not themselves defined as `staticmethods`. When called
using a `ParserElement` instance, this resulted in a
`TypeError` exception.
* To address a compatibility issue in RDFLib, added a property
setter for the `ParserElement.name` property, to call
`ParserElement.set_name`.
* Modified `ParserElement.set_name()` to accept a None value,
to clear the defined name and corresponding error message for
a `ParserElement`.
* Updated railroad diagram generation for `ZeroOrMore` and
`OneOrMore` expressions with `stop_on` expressions, while
investigating #558
* Added exception type to `trace_parse_action` exception
output, while investigating SO question posted by medihack.
* Added `set_name` calls to internal expressions generated in
`infix_notation`, for improved railroad diagramming.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:E as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:E"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:E"


Marcus Rueckert's avatar

darix accepted review

Accepted review for by_group opensuse-review-team request 1198050 from user dimstar_suse


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:E got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:E got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:E got accepted.

openSUSE Build Service is sponsored by