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 gvanrossum
Recipients gvanrossum, socketpair, vstinner, yselivanov
Date 2015-11-12.19:40:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJJw=a+1h5rpTXLj213nLZhVeNFSD6PA+Qck0_3jgJxskw@mail.gmail.com>
In-reply-to <1447355475.79.0.931064144901.issue25608@psf.upfronthosting.co.za>
Content
I'm okay with raising ValueError for length<0; but for length==0 the
behavior is very much intentional -- reading zero bytes is sometimes a
useful end case that otherwise you would have to work around in the
caller.
History
Date User Action Args
2015-11-12 19:40:24gvanrossumsetrecipients: + gvanrossum, vstinner, socketpair, yselivanov
2015-11-12 19:40:24gvanrossumlinkissue25608 messages
2015-11-12 19:40:24gvanrossumcreate