[issue38525] Strange reversed dict behavior
Ned Deily
report at bugs.python.org
Sat Oct 19 04:14:44 EDT 2019
Ned Deily <nad at python.org> added the comment:
Outside of IDLE, the example causes a segfault. With debug build of current master HEAD:
Assertion failed: (value != NULL), function dictreviter_iternext, file ../../source/Objects/dictobject.c, line 3834.
if (d->ma_values) {
if (i < 0) {
goto fail;
}
key = DK_ENTRIES(k)[i].me_key;
value = d->ma_values[i];
assert (value != NULL);
}
----------
nosy: +inada.naoki, ned.deily
type: behavior -> crash
versions: +Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38525>
_______________________________________
More information about the Python-bugs-list
mailing list