Under certain special conditions a parser does not recognize legitimate input and instead raises a parse error.
To provoke the error one needs:
- to use setResultsName frequently.
- an own class to replace ParseResult. This class needs a __getitem__ method.
- some bad luck.
The attached script demonstrates the bug.
This a very obscure bug, and it can be quite easily worked around. So this bug does not need a high priority, however it confused me quite a bit.