[issue23545] Turn on extra warnings on GCC

Serhiy Storchaka report at bugs.python.org
Fri Aug 12 02:44:45 EDT 2016


Serhiy Storchaka added the comment:

Seems GCC is such smart, that can deduce that the maximal value of _ssl_locks_count is never larger than PY_SSIZE_T_MAX / sizeof(PyThread_type_lock). The other workaround is making _ssl_locks_count of type size_t instead of unsigned int, but I wouldn't do this with good reasons.

----------

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


More information about the Python-bugs-list mailing list