pyparsing 3.0.8 #383
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
-
Version 3.0.8 -
API CHANGE: modified pyproject.toml to require Python version 3.6.8 or later for pyparsing 3.x. Earlier minor versions of 3.6 fail in evaluating the
version_info
class (implemented usingtyping.NamedTuple
). If you are using an earlier version of Python 3.6, you will need to use pyparsing 2.4.7.Improved pyparsing import time by deferring regex pattern compiles. PR submitted by Anthony Sottile to fix issue 3x import-time performance regression between 2.x and 3.x #362, thanks!
Updated build to use flit, PR by Michał Górny, added BUILDING.md doc and removed old Windows build scripts - nice cleanup work!
More type-hinting added for all arithmetic and logical operator methods in
ParserElement
. PR from Kazantcev Andrey, thank you.Fixed
infix_notation
's definitions oflpar
andrpar
, to accept parse expressions such that they do not get suppressed in the parsed results. PR submitted by Philippe Prados, nice work.Fixed bug in railroad diagramming with expressions containing
Combine
elements. Reported by Jeremy White, thanks!Added
show_groups
argument tocreate_diagram
to highlight grouped elements with an unlabeled bounding box.Added
unicode_denormalizer.py
to the examples as a demonstration of how Python's interpreter will accept Unicode characters in identifiers, but normalizes them back to ASCII so that identifiersprint
and𝕡𝓻ᵢ𝓃𝘁
and𝖕𝒓𝗂𝑛ᵗ
are all equivalent.Removed imports of deprecated
sre_constants
module for catching exceptions when compiling regular expressions. PR submitted by Serhiy Storchaka, thank you.This discussion was created from the release pyparsing 3.0.8.
Beta Was this translation helpful? Give feedback.
All reactions