Skip to content

print omiting output when using the parameter end=" " #130239

Closed as duplicate

Description

@FurtadoPires

Bug report

Bug description:

Using the parameter end=" " in a print() causes the output to omit the first word for some reason

>>> print("Hi I am a bug", "Python 3.13.2", end=" ")
>>>  am a bug Python 3.13.2

This doesn't happen in v3.13.1 so it might be a regression

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Activity

  1. gaogaotiantian commented on Feb 17, 2025

    @gaogaotiantian
    Member
  2. terryjreedy commented on Feb 18, 2025

    @terryjreedy
    Member

    @FurtadoPires Please read the original issue. Print is printing everything. But the 3+1=4 character prompt is being written over the first chars of the output instead of on a new, clean line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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