[New-bugs-announce] [issue30504] Allow inspecting buffering attribute of IO objects
Antoine Pitrou
report at bugs.python.org
Mon May 29 04:59:06 EDT 2017
New submission from Antoine Pitrou:
It would be useful to be able to inspect the buffering attribute of buffered and text I/O objects, especially for debugging.
I would expect e.g.:
>>> sys.stdout.buffering
1 # line-buffered
>>> sys.stdout.buffer.buffering
8192
----------
components: IO
messages: 294683
nosy: benjamin.peterson, pitrou, stutzbach
priority: normal
severity: normal
stage: needs patch
status: open
title: Allow inspecting buffering attribute of IO objects
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30504>
_______________________________________
More information about the New-bugs-announce
mailing list