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 BreamoreBoy, Thomas Fenzl, kilobug, loewis, pitrou, skrah
Date 2013-03-22.09:50:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363945833.05.0.449656421144.issue1747670@psf.upfronthosting.co.za>
In-reply-to
Content
Well, str.join() already optimizes this case to avoid copies:

>>> s = "x" * 50
>>> id(s)
139712615414000
>>> id(''.join([s]))
139712615414000
History
Date User Action Args
2013-03-22 09:50:33pitrousetrecipients: + pitrou, loewis, kilobug, skrah, BreamoreBoy, Thomas Fenzl
2013-03-22 09:50:33pitrousetmessageid: <1363945833.05.0.449656421144.issue1747670@psf.upfronthosting.co.za>
2013-03-22 09:50:33pitroulinkissue1747670 messages
2013-03-22 09:50:32pitroucreate