That was an impressively fast draft patch!
2014-07-17 7:28 GMT+06:00 Nick Coghlan :
>
> On 16 Jul 2014 20:00, wrote:
> > On Thu, Jul 17, 2014 at 03:44:23AM +0600, Mikhail Korobov wrote:
> > > I believe this problem affects tornado (
> https://github.com/tornadoweb/to
Hi,
cStringIO was removed from Python 3. It seems the suggested replacement is
io.BytesIO. But there is a problem: cStringIO.StringIO(b'data') didn't copy
the data while io.BytesIO(b'data') makes a copy (even if the data is not
modified later).
This means io.BytesIO is not suited well to cases wh