← Winnitude! Search  ·  Reader Mode (600 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 8 LINKS

When output does not end with '\n', the output text will always stay before '>>> ' · Issue #1050 · bpython/bpython

Repository navigation

When output does not end with '\n', the output text will always stay before '>>> '  #1050


New issue

New issue

Open
#1061
Open
When output does not end with '\n', the output text will always stay before '>>> ' #1050 #1061

Description

@XiJet-Gary's profile XiJet-Gary opened on Apr 2, 2026

Reproducible code:

print("Hello!", end='')

Python running result:

>>> print("Hello!", end='')
Hello!>>> 
>>> 
>>> 

We will find that after pressing Enter several times, the previous output text will not stay in front of the '>>> ',
but in Bpython, do the same thing:

>>> print("Hello!", end='')
>>> 
>>> 
Hello!>>> 

We wil find that the previous output will always stay in front of '>>> ', although we can use print() for printing a newline clear the leftover 'hello'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions