[issue41617] __builtin_bswap16 is used without checking it is supported

STINNER Victor report at bugs.python.org
Tue Sep 1 14:56:30 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

Thank you Joshua Root for your bug report! Your PR 21942 was good, but I chose to avoid __has_builtin() since it is not supported by all compilers and only available since GCC 10 for GCC.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41617>
_______________________________________


More information about the Python-bugs-list mailing list