Alexander Riccio added the comment: > Are you aware of the Coverity program? Last time I heard about Coverity, > CPython had 0 bug found by Coverity ;-)
Yup, see Issue25847. > The sad part is that Py_ARRAY_LENGTH() is written for static analysis Sadly, yeah. MSVC, when compiling as C++, should actually catch this, but CPython precludes that. ---------- resolution: fixed -> type: behavior -> _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25846> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com