Paul McGuire
Paul McGuire
Yes, delimitedList does some "stuff" with its embedded expression, changed as part of fixing other bugs. Will take another run at resolving this to retain prior behavior while keeping other...
Sorry for the delay. The problem is that delimitedList calls streamline() on the expression in order to create a valid label. streamline() will merge some expressions if they have no...
Well, it turns out that recursive name generator wasn't that awful after all. So this fix will be in 3.0.10, coming out very soon.
Is this still an issue? Pyparsing 3.0.8 does not seem to show this difference. I am going to add your test to the pyparsing test cases, as: def testIndentedBlockResultsNames(self): from...
Does this make the railroad diagrams better? worse?
If you are using features (such as typing annotations) not yet available until Py 3.7, I'll be dropping Py3.6 support in pyparsing 3.1, but this won't be for a few...
Looking at this - thanks. Using this code to debug (exception when max=1 is expected): ``` python for mx in range(1, 5): expr = Word('AB', 'C', max=mx) expr.runTests(f"""\ # max={mx}...
Fixed, simplified code, AND added optimization when 'exact' arg is used. Nice catch, thanks!
If your lambda is simply evaluating a True/False condition, look at using `addCondition` instead. If your lambda returns anything other than True, then it will raise an exception. If your...
Based on your description, this is the kind of code I see that you would have to write in the absence of such a feature: ``` import pyparsing as pp...