-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra newline before input #5242
Comments
Thanks for reporting. Although annoying, this is a simple bug and we don't have time to fix it right now. Sorry. |
The linked gist is no longer available. Can the issue be updated with an inline case? From this Stack Overflow question, I surmise it is something as simple as: print('foo!')
input('bar? ')
print('baz!') |
It seems an |
Hey, I am a complete stranger here, but wanted to give my 2 cents since I stumbled upon this thread. I found a small work around to this bug by modifying the leading The following code results in the desired output: print('foo!', end='')
input('bar? ')
print(bax!') Output
Maybe this will help in squashing this bug? Best of luck! |
Closing as a duplicate of issue #16504, which was fixed on Spyder 5.3.1. |
Description
This code https://gist.github.com/Nixerrr/6ab82500b7995a1b1dc70998fdf5a893 produces an unexpected output, because there's an extra newline before the input line.
![image](https://user-images.githubusercontent.com/30010072/30470630-c10a017e-99f5-11e7-818f-2274b5fa6e07.png)
![image](https://user-images.githubusercontent.com/30010072/30470729-3420014a-99f6-11e7-91e3-329ef002afa2.png)
Meanwhile, this is what the same code produces in the Cloud9 IDE:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expected:
foo!
bar? h
baz!
Instead I got:
foo!
bar? h
baz!
Please provide any additional information below
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: