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 pitrou
Recipients benjamin.peterson, pitrou, stutzbach
Date 2017-05-29.08:59:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496048346.63.0.715963034085.issue30504@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-05-29 08:59:06pitrousetrecipients: + pitrou, benjamin.peterson, stutzbach
2017-05-29 08:59:06pitrousetmessageid: <1496048346.63.0.715963034085.issue30504@psf.upfronthosting.co.za>
2017-05-29 08:59:06pitroulinkissue30504 messages
2017-05-29 08:59:06pitroucreate