Parser icon indicating copy to clipboard operation
Parser copied to clipboard

Results 36 Parser issues
Sort by recently updated
recently updated
newest added

From: https://github.com/mtshiba/pylyzer/issues/115 Starting with Python 3.12, the use of strings within f-strings is permitted. [Reference](https://docs.python.org/3.12/reference/lexical_analysis.html#:~:text=Changed%20in%20version%203.12%3A%20Prior%20to%20Python%203.12%2C%20reuse%20of%20the%20same%20quoting%20type%20of%20the%20outer%20f%2Dstring%20inside%20a%20replacement%20field%20was%20not%20possible) However, the current parser implementation does not seem to allow the use of same quoting...

I'm using `aarch64-apple-darwin` and running the following commands: ```bash cargo new demo cd demo cargo add rustpython-parser --features malachite-bigint --no-default-features cargo run ``` and am getting the following errors: Error...

We use this parser for a custom linter that we ship through a VSCode extension (`rustpython_parser::ast::Suite::parse_without_path`). The VSCode extension api expects byte positions to the text encoded in utf-16, but...

It seems this crate [is unmaintained and existing RustSec advisories will not be patched](https://github.com/RustPython/Parser/issues/139#issuecomment-3516057767). Is that correct? I would love to hear this confirmed from one of the authors so...

There was a rustsec advisory about [`unic` being unmaintained](https://github.com/rustsec/advisory-db/issues/2414). It seems to be used in [`literal/Cargo.toml`](https://github.com/RustPython/Parser/blob/18343073aac091e5d9717b5168c53841bbcaf398/literal/Cargo.toml#L16) and [`parser/Cargo.toml`](https://github.com/RustPython/Parser/blob/18343073aac091e5d9717b5168c53841bbcaf398/parser/Cargo.toml#L38). Solution: Replace with something maintained, see the rustsec advisory link for suggestions.

Please be aware that `cargo audit` will warn if other rust projects vendor Parser since the dependency paste is no longer maintained (RUSTSEC-2024-0436). ``` [eslerm@ares Parser]$ cargo audit Updating crates.io...