Skip to content

REPL indentation after print or evaluation is printed #123863

@Siecje

Description

@Siecje

Bug report

Bug description:

With Python 3.13.0rc2 after the REPL prints the next >>> prompt is indented. Is this a bug or a feature?

>>> False
False
     >>> 
>>> print('False')
False
     >>> 
>>> 1 == 2
False
     >>> 
>>> 1 == 1
True
    >>> 
>>> 

CPython versions tested on:

3.13

Operating systems tested on:

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions