[issue21377] PyBytes_Concat could try to concat in-place

STINNER Victor report at bugs.python.org
Tue Apr 29 10:45:21 CEST 2014


STINNER Victor added the comment:

If I remember correctly, ceval.c has an optmisation for str += str even if
the refcount is 2. Do we need to implement it or suggest to use bytearray
or b''.join() instead?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21377>
_______________________________________


More information about the Python-bugs-list mailing list