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 gregory.p.smith
Recipients gregory.p.smith, r.david.murray
Date 2013-03-17.05:31:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363498261.39.0.504442520275.issue17443@psf.upfronthosting.co.za>
In-reply-to
Content
imaplib.IMAP4_stream subprocess is opened unbuffered but ignores short reads when reading the message body.  Depending on timing, message body size and kernel pipe buffer size and phase of the moon and whether you're debugging the thing or not... It can fail to read the entire message body before wrongly assuming it has and attempting to read the terminating b')\r\n' of the IMAP protocol.

Bug discovered during a debugging session at the PyCon 2013 Python 3 Porting Clinic BOF.
History
Date User Action Args
2013-03-17 05:31:01gregory.p.smithsetrecipients: + gregory.p.smith, r.david.murray
2013-03-17 05:31:01gregory.p.smithsetmessageid: <1363498261.39.0.504442520275.issue17443@psf.upfronthosting.co.za>
2013-03-17 05:31:01gregory.p.smithlinkissue17443 messages
2013-03-17 05:31:00gregory.p.smithcreate