Skip to content

Incorrect findings reported - PEP758 #106

@ebarti

Description

@ebarti

This is a classic from all SOTA providers. Without guidance, they will report that a Python project whose minimum version is 3.14 has "invalid Python".

The three exception handlers use Python 2-style multi-exception syntax. Under the project's Python 3 runtime this raises SyntaxError during import, so the prompt/context attribution module and every module importing it fail before tests can execute.

Obviously not true: https://peps.python.org/pep-0758/

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions