Skip to content

Commit

Permalink
Prep for release
Browse files Browse the repository at this point in the history
  • Loading branch information
ptmcg committed Jul 29, 2023
1 parent 54b39a5 commit 395431a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGES
Expand Up @@ -13,8 +13,8 @@ help from Devin J. Pohly in structuring the code to enable this peaceful transit
Version 3.2.0 will also discontinue support for Python versions 3.6 and 3.7.


Version 3.1.1 - (in development)
--------------------------------
Version 3.1.1 - July, 2023
--------------------------
- Fixed regression in Word(min), reported by Ricardo Coccioli, good catch! (Issue #502)

- Fixed bug in bad exception messages raised by Forward expressions. PR submitted
Expand Down
2 changes: 1 addition & 1 deletion pyparsing/__init__.py
Expand Up @@ -121,7 +121,7 @@ def __repr__(self):


__version_info__ = version_info(3, 1, 1, "final", 1)
__version_time__ = "29 Jul 2023 14:32 UTC"
__version_time__ = "29 Jul 2023 22:27 UTC"
__version__ = __version_info__.__version__
__versionTime__ = __version_time__
__author__ = "Paul McGuire <ptmcg.gm+pyparsing@gmail.com>"
Expand Down
4 changes: 1 addition & 3 deletions pyparsing/core.py
Expand Up @@ -5362,9 +5362,7 @@ def parseImpl(self, instring, loc, doActions=True):
self_failOn_canParseNext = (
self.failOn.canParseNext if self.failOn is not None else None
)
ignorer_try_parse = (
self.ignorer.try_parse if self.ignorer.ignoreExprs else None
)
ignorer_try_parse = self.ignorer.try_parse if self.ignorer.ignoreExprs else None

tmploc = loc
while tmploc <= instrlen:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unit.py
Expand Up @@ -1811,7 +1811,7 @@ def testSkipToIgnoreExpr2(self):

# pyparsing 3.0.9 -> ['*', 'a_*_a', '*']
# pyparsing 3.1.0 -> ['*', '', '*']
self.assertParseAndCheckList(expr, "*a_*_a*", ['*', 'a_*_a', '*'])
self.assertParseAndCheckList(expr, "*a_*_a*", ["*", "a_*_a", "*"])

def testEllipsisRepetition(self):
word = pp.Word(pp.alphas).setName("word")
Expand Down

0 comments on commit 395431a

Please sign in to comment.