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 glyph
Recipients Arfrever, exarkun, glyph, pitrou, skrah
Date 2012-10-11.20:10:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <F65B7DC6-94C4-46D5-9117-D16E3EF17B0E@twistedmatrix.com>
In-reply-to <1349982832.85.0.372382759947.issue15945@psf.upfronthosting.co.za>
Content
Le Oct 11, 2012 à 12:13 PM, Antoine Pitrou <report@bugs.python.org> a écrit :

> 
> Antoine Pitrou added the comment:
> 
> I'm not sure what you're talking about since:
> 
>>>> b = buffer("abc")
>>>> b + "xyz"
> 'abcxyz'
>>>> (b + "xyz") is b
> False
> 
> ... doesn't look like it avoid copies to me.

The case where copies are avoided is documented here:

<http://twistedmatrix.com/trac/browser/trunk/twisted/internet/abstract.py?rev=35733#L20>
History
Date User Action Args
2012-10-11 20:10:53glyphsetrecipients: + glyph, exarkun, pitrou, Arfrever, skrah
2012-10-11 20:10:53glyphlinkissue15945 messages
2012-10-11 20:10:53glyphcreate