Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPrint glitch regarding newline and line-ends #744
Closed
Comments
|
They way running
becomes
feels related to me, the way that on reformat the output gets moved to the next line. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The bug seems to be triggered when there is a print with
end=''followed by a print that begins with a\n.Minimal example:
Expected:
fooandbarare in immediately adjacent lines.Actual: There is an extraneous line between
fooandbar.For reference, observe what the standard python interpreter does:
I have the hunch that the bug probably lives in the stdio shim of bpython. The bugtracker shows no similar bugs.