gh-128067: Fix pyrepl overriding printed output without newlines (#138732)

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
7 files changed