Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sys command results in error #955

Copy link
Copy link
@thevibingcat

Description

@thevibingcat
Issue body actions

when i enter the following code, this happens:

>>> v = sys.stdin.readline()
here is some text
>>> print(v)
here is some text
>>> v = sys.stdin.readline(13)
here is some text
[error text blah blah blah]```


what is supposed to happen is sys is supposed to save the first 13 characters (including spaces) of "here is some text".
if i do this in the actual IDLE, it does what is intended. but this does not happen in bpython. please fix this and any other commands that do not match up with the original python.
I am using Ubuntu 20.04.1, and the IDLE i mentioned is python 3.8 and bpython 0.18
Thank you.
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.