Dong-hee Na <[email protected]> added the comment:
>>> reversed({}.items())
<dict_reverseitemiterator object at 0x106a2bc50>
>>> a = reversed({}.items())
>>> next(a)
Assertion failed: (value != NULL), function dictreviter_iternext, file
Objects/dictobject.c, line 3834.
[1] 4106 abort ./python.exe
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38525>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com