Mark Dickinson added the comment: > I guess return -1 instead of bits=0 will silent both gcc and the static > analyzer warning.
That's a possibility, though we should also set an exception in that case (since returning an error value without setting an exception is also something that might be picked up by a CPython-oriented static analyser in the future). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30287> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com