-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
REPL : Incomprehensible behavior with os.input () #5678
Labels
Bug
This tag is applied to issues which reports bugs.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
Comments
There are definitely issues using os.input() in REPL. For one, it is not flushing the output before trying to get the input. For another, it appears to be setting the variable to the prompt, rather than the input.
|
Seems this is only a problem when creating a variable. Next calls of variable works as expected >>> s := os.input('?: ')
asdf
?:
>>> s
asdf
?: asdf
>>> s
ggrr
?: ggrr
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
This tag is applied to issues which reports bugs.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
V version:
0.1.28 0fb28eb
OS:
linux
What did you do?
Set a variable with os.input in REPL
What did you expect to see?
Get the variable
What did you see instead?
Strange behavior. I cannot assign a value to a variable or enter anything.
The text was updated successfully, but these errors were encountered: