Ned Deily <n...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38525>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to