Closed
Description
openedon May 14, 2015
Unmodified session - the three numbers and then empty line are what I typed into stdin:
Python interactive window. Type $help for a list of commands.
>>> x = 5
>>> while x > 0:
... x = int(input('Give a number'))
...
Give a numberGive a numberGive a numberGive a numberTraceback (most recent call last):
File "<stdin>", line 2, in <module>
ValueError: invalid literal for int() with base 10: ''
1
2
3
>>>
I'd expect stdin and stdout/stderr to be intermingled properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment