paroxython
paroxython copied to clipboard
Tag and recommend Python exercises based on algorithmic features
The regex suggestion fails on this selection: ``` /body/1/_type=Assign /body/1/_pos=1:1- /body/1/assigntargets/length=1 /body/1/assigntargets/1/_hash=0xc0e73f33 /body/2/_type=If /body/2/body/length=1 /body/2/body/1/_type=AugAssign /body/2/body/1/assigntarget/_hash=0xc0e73f33 /body/2/orelse/length=0 ```
Possible heuristic: any recursive call is returned directly. Need context?
For instance, the construct `index`: ```re ^(.*?)/_type='Subscript' \n(?:\1.+\n)*?\1/lineno=(?P\d+) \n(?:\1.+\n)*?\1/slice/_type='Index' ``` ... could be expressed as: ```re ^(.*?)/_type='Subscript' (?(DEFINE)(?P\n(?:\1.+\n)*\1)) (?&sq)/lineno=(?P\d+) (?&sq)/slice/_type='Index' ``` To further mute the regex noise, the definition could...
This PR updates [regex](https://pypi.org/project/regex) from **2022.8.17** to **2022.9.13**. *The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)* Links - PyPI: https://pypi.org/project/regex - Repo: https://github.com/mrabarnett/mrab-regex
This PR updates [pytest](https://pypi.org/project/pytest) from **7.1.3** to **8.0.0**. Changelog ### 8.0.0 ``` ========================= Bug Fixes --------- - `11842 <https://github.com/pytest-dev/pytest/issues/11842>`_: Properly escape the ``reason`` of a :ref:`skip <pytest.mark.skip ref>` mark when...
This PR updates [regex](https://pypi.org/project/regex) from **2022.9.13** to **2023.12.25**. Changelog ### 2023.12.25 ``` Cannot get release notification action in main.yml to work. Commenting it out for now. ``` ### 2023.12.24 ```...
This PR updates [typing-extensions](https://pypi.org/project/typing-extensions) from **4.4.0** to **4.9.0**. Changelog ### 4.9.0 ``` This feature release adds `typing_extensions.ReadOnly`, as specified by PEP 705, and makes various other improvements, especially to `typing_extensions.deprecated()`....
This PR updates [sqlparse](https://pypi.org/project/sqlparse) from **0.4.3** to **0.4.4**. Changelog ### 0.4.4 ``` ---------------------------- Notable Changes * IMPORTANT: This release fixes a security vulnerability in the parser where a regular expression...
This PR updates [regex](https://pypi.org/project/regex) from **2022.9.13** to **2024.4.28**. Changelog ### 2024.4.28 ``` Git issue 527: `VERBOSE`/`X` flag breaks `\N` escapes ``` ### 2024.4.16 ``` Git issue 525: segfault when fuzzy...
This PR updates [pytest](https://pypi.org/project/pytest) from **7.1.3** to **8.2.0**. Changelog ### 8.2.0 ``` ========================= Deprecations ------------ - `12069 <https://github.com/pytest-dev/pytest/issues/12069>`_: A deprecation warning is now raised when implementations of one of the...