Paul McGuire

Results 11 issues of Paul McGuire

`Literal("A")[..., 1000]` raises `RecursionError`, because the [] syntax generates a recursive expression of nested Optionals. (Found while investigating #330)

If a global like quotedString has had a parse action (like removeQuotes) added to it, `reset_pyparsing_context` does not remove that parse action afterward. This may not have a viable solution,...

**Describe the bug** When calling sys.stdout.isatty() within a PyScript block, we get the following message (running in Chrome): ``` JsException(PythonError: Traceback (most recent call last): File "/lib/python3.10/site-packages/_pyodide/_base.py", line 429, in...

type: bug
lang: python

The definition of variable in expr_parser is: variable = pp.Word(pp.alphanums + "_.") This will accept invalid identifiers such as .__ a..c....d ... 123..456 Consider changing to the 2-argument form of...

enhancement

> Note that you may encounter an error while installing pyparsing on which json2xlsx depends. This is probably because pyparsing 1.x runs only on Python 2.x while pyparsing 2.x runs...

## What's the problem this feature will solve? tox interpretation of NO_COLOR uses `StrConvert.to_bool()` to look for specific string values (case insensitive match): - 1, on, yes, true to "enable"...

help:wanted
enhancement

Adding this classifier will be useful for packages to indicate that they can run in the Pyodide in-browser environment.

* Dependency Parser version: * Python version: 3.10 * Operating System: Windows 10 ### Description Test failure while trying to os.remove a file that had not yet been closed. ###...

https://github.com/lanPN85/taskflow/blob/2b46c6b2d0a87056679092cddce7d001a4a3d1e1/taskflow/db/mem.py#L43 So happy to see that `littletable` is useful in your project. Since you created a unique index on the "id" attribute, you can replace this line with: return self.__tasks.by.id[id]...

See [this SO post](https://stackoverflow.com/questions/78574784/how-to-make-sure-element-has-parsing-precedence-before-other-elements-in-pyparsi), should be able to use match_previous_expr to enforce matching of opening and closing tags. Does not work for nested tags.