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 nikratio, pitrou, vstinner
Date 2014-04-28.19:47:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398714444.35.0.443659487134.issue21377@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, PyBytes_Concat always creates a new bytes object for the result. However, when Py_REFCNT(*pv) == 1, it could instead call _PyBytes_Resize() and then concat the second argument in place.

(like e.g. _PyUnicode_Append does)
History
Date User Action Args
2014-04-28 19:47:24pitrousetrecipients: + pitrou, vstinner, nikratio
2014-04-28 19:47:24pitrousetmessageid: <1398714444.35.0.443659487134.issue21377@psf.upfronthosting.co.za>
2014-04-28 19:47:24pitroulinkissue21377 messages
2014-04-28 19:47:24pitroucreate