[issue30504] Allow inspecting buffering attribute of IO objects

Serhiy Storchaka report at bugs.python.org
Mon May 29 05:13:14 EDT 2017


Serhiy Storchaka added the comment:

>>> sys.stdout.line_buffering
True

For buffered streams I would expect the attribute named "buffer_size", conforming to the name of the parameter of the constructor.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30504>
_______________________________________


More information about the Python-bugs-list mailing list