pyparsing 3.0.4 #326
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
-
Fixed bug in which
Dict
classes did not correctly return tokens as nestedParseResults
, reported by and fix identified by Bu Sun Kim, many thanks!!!Documented API-changing side-effect of converting
ParseResults
to use__slots__
to pre-define instance attributes. This means that code written like this (which was allowed in pyparsing 2.4.7):now raises this Python exception:
To add new attribute values to ParseResults object in 3.0.0 and later, you must assign them using indexed notation:
You will still be able to access this new value as an attribute or as an indexed item.
Fixed bug in railroad diagramming where the vertical limit would count all expressions in a group, not just those that would create visible railroad elements.
This discussion was created from the release pyparsing 3.0.4.
Beta Was this translation helpful? Give feedback.
All reactions