[issue21377] PyBytes_Concat could try to concat in-place

Antoine Pitrou report at bugs.python.org
Tue Apr 29 09:55:59 CEST 2014


Antoine Pitrou added the comment:

> Tentative patch attached. The test suite still passes, but I'm not
> sure if it actually exerts the new code path.

A quick grep shows me that it should be exercised at least by Modules/_io/bufferedio.c.
Otherwise, the way to test the C API is to add a function to Modules/_testcapi.c, and test that function from the relevant test file.

----------

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


More information about the Python-bugs-list mailing list