[issue29674] Use GCC __attribute__((alloc_size(x, y))) on PyMem_Malloc() functions

STINNER Victor report at bugs.python.org
Tue Mar 14 16:32:15 EDT 2017


STINNER Victor added the comment:

Yeah, as for each GCC release, I expect new warnings. I noticed the
implicit fall through in GCC 7. I know that it's used on purpose in CPython.

----------
title: Use GCC __attribute__((alloc_size(x,y))) on PyMem_Malloc() functions -> Use GCC __attribute__((alloc_size(x, y))) on PyMem_Malloc() functions

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


More information about the Python-bugs-list mailing list