Message181290
> Suggested workaround: use io.BytesIO instead of cStringIO.
Well, maybe we can replace cStringIO by io.BytesIO in cPickle (and other places).
> comments on the patch... in short: your patch is changing an ABI and isn't suitable for a maintenance release.
Isn't this a private API?
> I'm not sure how much we can usefully do to cStringIO in a maintenance release. I'd be inclined to close as wontfix as io.BytesIO is available.
We can't just close this issue. cStringIO crashes Python. We can use another approach. Change cStringIO so that user can't write or read more than INT_MAX bytes at a time (an exception will be raised instead of crash), but can write more than INT_MAX bytes in sum and get all string with getvalue(). This will preserve an ABI. |
|
Date |
User |
Action |
Args |
2013-02-03 19:49:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, gregory.p.smith, belopolsky, pitrou, vstinner, eric.smith, rybesh, Gilles.Louppe |
2013-02-03 19:49:20 | serhiy.storchaka | set | messageid: <1359920960.16.0.42459287138.issue7358@psf.upfronthosting.co.za> |
2013-02-03 19:49:20 | serhiy.storchaka | link | issue7358 messages |
2013-02-03 19:49:20 | serhiy.storchaka | create | |
|