This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cykerway
Recipients cykerway
Date 2019-03-14.16:03:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552579401.5.0.833701735318.issue36294@roundup.psfhosted.org>
In-reply-to
Content
Document of [BufferedIOBase](https://docs.python.org/3/library/io.html#io.BufferedIOBase) says:

>   ...unlike their RawIOBase counterparts, they will never return None.

But this example shows the above statement is not true:

    import io
    import os
    import sys

    os.set_blocking(sys.stdin.fileno(), False)
    print(isinstance(sys.stdin.buffer, io.BufferedIOBase))
    print(sys.stdin.buffer.read())

Output:

    True
    None
History
Date User Action Args
2019-03-14 16:03:21cykerwaysetrecipients: + cykerway
2019-03-14 16:03:21cykerwaysetmessageid: <1552579401.5.0.833701735318.issue36294@roundup.psfhosted.org>
2019-03-14 16:03:21cykerwaylinkissue36294 messages
2019-03-14 16:03:21cykerwaycreate