Martin Panter added the comment:
The proposed options add exactly one warning for me (ignoring warnings from
libffi). How would you work around this:
./Include/pymem.h:136:18: warning: comparison is always false due to limited
range of data type [-Wtype-limits]
( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \
^
/media/disk/home/proj/python/cpython/Modules/_ssl.c:4435:22: note: in expansion
of macro ‘PyMem_New’
_ssl_locks = PyMem_New(PyThread_type_lock, _ssl_locks_count);
^~~~~~~~~
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23545>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com