New submission from Serhiy Storchaka: Following PR adds several asserts for checking that sq_length and mq_length either return non-negative result or raise an exception.
One assert already was in PySequence_GetItem(). ---------- components: Interpreter Core messages: 289777 nosy: haypo, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Check that sq_length and mq_length return non-negative result type: enhancement versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29838> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com