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 benjamin.peterson
Recipients benjamin.peterson, dugres, ronaldoussoren, tshepang
Date 2013-08-12.04:51:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376283073.75.0.743798705668.issue18660@psf.upfronthosting.co.za>
In-reply-to
Content
This is not a Python bug. Linux is just not accepting "0" as a valid size argument to read(). You don't see this using libc.read because you don't check errno. Just don't call os.read() if size == 0.
History
Date User Action Args
2013-08-12 04:51:13benjamin.petersonsetrecipients: + benjamin.peterson, ronaldoussoren, tshepang, dugres
2013-08-12 04:51:13benjamin.petersonsetmessageid: <1376283073.75.0.743798705668.issue18660@psf.upfronthosting.co.za>
2013-08-12 04:51:13benjamin.petersonlinkissue18660 messages
2013-08-12 04:51:13benjamin.petersoncreate