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, izbyshev, pitrou, stutzbach
Date 2017-12-10.18:44:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512931441.82.0.213398074469.issue32236@psf.upfronthosting.co.za>
In-reply-to
Content
> I suggest to raise a ValueError if buffering=1 is used for binary mode.

Either that, or we instead accept buffering=1 as a regular buffer size.  But since buffering=1 means something else for text mode, maybe you're right that it's better to raise in binary mode, to avoid any possible confusion.
History
Date User Action Args
2017-12-10 18:44:01pitrousetrecipients: + pitrou, benjamin.peterson, stutzbach, izbyshev
2017-12-10 18:44:01pitrousetmessageid: <1512931441.82.0.213398074469.issue32236@psf.upfronthosting.co.za>
2017-12-10 18:44:01pitroulinkissue32236 messages
2017-12-10 18:44:01pitroucreate