Roundup Robot added the comment:
New changeset 3568f8f1ccac by Benjamin Peterson in branch '2.7':
add missing NULL check (closes #18019)
http://hg.python.org/cpython/rev/3568f8f1ccac
--
nosy: +python-dev
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
New submission from Marcin Szamotulski:
This simple snipet will crash python:
>>> d={}
>>> v=d.viewvalues()
>>> k=d.viewkeys()
>>> d[v]=k
>>> k
Segmentation fault
I am using python2.7. Python3.2 does not have views while .keys() and
.values() methods raise RuntimeError: maximum recursion depth