New submission from Benjamin Peterson <benja...@python.org>:

https://github.com/python/cpython/blob/3f4db4a0bab073b768fae958e93288bd5d24eadd/Python/pystate.c#L707
 should be using > not >=.

----------
components: Interpreter Core
messages: 352031
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: off-by-one error in PyState_GetModule
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38124>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to