[New-bugs-announce] [issue29838] Check that sq_length and mq_length return non-negative result

Serhiy Storchaka report at bugs.python.org
Fri Mar 17 15:39:52 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue29838>
_______________________________________


More information about the New-bugs-announce mailing list