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 pitrou
Recipients pitrou, sbt, schmir, vstinner
Date 2012-08-23.14:50:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345733208.3429.10.camel@localhost.localdomain>
In-reply-to <>
> 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.

I haven't measured under Windows, but this looks ok to me.
Date User Action Args
2012-08-23 14:50:11pitrousetrecipients: + pitrou, vstinner, schmir, sbt
2012-08-23 14:50:11pitroulinkissue15758 messages
2012-08-23 14:50:11pitroucreate