diff options
author | Paul McGuire <ptmcg@austin.rr.com> | 2015-11-25 15:07:45 +0000 |
---|---|---|
committer | Paul McGuire <ptmcg@austin.rr.com> | 2015-11-25 15:07:45 +0000 |
commit | 30e376729d795149fd9ddfb90cceda4fadf71f1e (patch) | |
tree | 77f97157bc160e2b783adcb56cd7f1660ee8f1b2 /src/pyparsing.py | |
parent | 2c4ce3008257d2b5b4ff796e1508143534aabc02 (diff) | |
download | pyparsing-git-30e376729d795149fd9ddfb90cceda4fadf71f1e.tar.gz |
Simplified string representation of Forward, to avoid memory and performance issues during streamlining
Diffstat (limited to 'src/pyparsing.py')
-rw-r--r-- | src/pyparsing.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pyparsing.py b/src/pyparsing.py index 3e02dbe..186bc45 100644 --- a/src/pyparsing.py +++ b/src/pyparsing.py @@ -57,8 +57,8 @@ The pyparsing module handles some of the problems that are typically vexing when - embedded comments
"""
-__version__ = "2.0.6"
-__versionTime__ = "9 Nov 2015 19:03"
+__version__ = "2.0.7"
+__versionTime__ = "25 Nov 2015 09:02"
__author__ = "Paul McGuire <ptmcg@users.sourceforge.net>"
import string
@@ -2998,7 +2998,9 @@ class Forward(ParseElementEnhance): def __str__( self ):
if hasattr(self,"name"):
return self.name
+ return self.__class__.__name__ + ": ..."
+ # stubbed out for now - creates awful memory and perf issues
self._revertClass = self.__class__
self.__class__ = _ForwardNoRecurse
try:
|