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 sbt
Recipients pitrou, sbt, schmir, vstinner
Date 2012-08-23.14:07:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is the patch (with the old ones removed).

Note that the old code mishandled the case where _PyBytes_Resize() failed by assuming that the old bytes object would still be valid.

I have assumed that stream psuedo-files will never claim to have a size greater than zero.  The code will still work if this assumption is false.
Date User Action Args
2012-08-23 14:08:03sbtsetrecipients: + sbt, pitrou, vstinner, schmir
2012-08-23 14:08:02sbtsetmessageid: <>
2012-08-23 14:08:01sbtlinkissue15758 messages
2012-08-23 14:08:01sbtcreate