Message337941
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 |
|
Date |
User |
Action |
Args |
2019-03-14 16:03:21 | cykerway | set | recipients:
+ cykerway |
2019-03-14 16:03:21 | cykerway | set | messageid: <1552579401.5.0.833701735318.issue36294@roundup.psfhosted.org> |
2019-03-14 16:03:21 | cykerway | link | issue36294 messages |
2019-03-14 16:03:21 | cykerway | create | |
|