Skip to content

repl: show exception for out-of-range unicode escape sequence #3971

@bnoordhuis

Description

@bnoordhuis
> '\u{10fffe}'
'???'
> '\u{10ffff}`
'???'
> '\u{110000}'
... 

The REPL hangs waiting for completion because of the SyntaxError: Unexpected token ILLEGAL exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    replIssues and PRs related to the REPL subsystem.

    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