Christian Heimes <li...@cheimes.de> added the comment: the switch blocks in both functions need to handle invalid input:
default: PyExc_SetString...; return -1; ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32711> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com