[issue27473] bytes_concat seems to check overflow using undefined behaviour

Xiang Zhang report at bugs.python.org
Sun Jul 10 06:59:28 EDT 2016


Xiang Zhang added the comment:

Yes, the current code is valid with -fwrapv. But I am not sure if every compiler supports this feature. So maybe we can't totally rely on it. And in issue1621, some efforts seem to have worked to factor these out.

----------

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


More information about the Python-bugs-list mailing list