Message168944
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:03 | sbt | set | recipients:
+ sbt, pitrou, vstinner, schmir |
2012-08-23 14:08:02 | sbt | set | messageid: <1345730882.55.0.606600957788.issue15758@psf.upfronthosting.co.za> |
2012-08-23 14:08:01 | sbt | link | issue15758 messages |
2012-08-23 14:08:01 | sbt | create | |
|