Skip to content

Mixed stdin and stdout in VS 2015 interactive window #145

Closed

Description

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions