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 bdkearns
Recipients bdkearns
Date 2014-04-25.16:40:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398444021.42.0.983935463224.issue21350@psf.upfronthosting.co.za>
In-reply-to
Content
In file.writelines, the conditions in this if statement are bogus. If f->f_binary and AsReadBuffer succeeds (returns 0), AsCharBuf is still tried. So, for example, passing an array('c') to a file('wb').writelines fails, when it seems the intention of the code/comments was to have it succeed.
History
Date User Action Args
2014-04-25 16:40:21bdkearnssetrecipients: + bdkearns
2014-04-25 16:40:21bdkearnssetmessageid: <1398444021.42.0.983935463224.issue21350@psf.upfronthosting.co.za>
2014-04-25 16:40:21bdkearnslinkissue21350 messages
2014-04-25 16:40:21bdkearnscreate