8000 Formalize incomplete error exceptions to improve codeop module handling · Issue #113744 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
8000
Formalize incomplete error exceptions to improve codeop module handling #113744
Closed
@pablogsal

Description

@pablogsal

Currently the way we detect incomplete errors in the codeop module is based on the exception text, which is suboptimal at least. To do this properly, add a new SyntaxError subclass called IncompleteInputError and use that in the codeop module to detect errors from the parser.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0