[issue39668] segmentation fault on calling __reversed__()

Karthikeyan Singaravelan report at bugs.python.org
Tue Feb 18 00:47:45 EST 2020


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

This could be fixed with 24dc2f8c56697f9ee51a4887cf0814b6600c1815 issue38525

➜  cpython git:(24dc2f8c56) ./python.exe -c 'list((lambda: None).__annotations__.__reversed__())'
➜  cpython git:(24dc2f8c56) git checkout HEAD~1
Previous HEAD position was 24dc2f8c56 bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH-16846)
HEAD is now at 88eeda6311 Remove doc reference to unmaitained Nose package (GH-16849)
➜  cpython git:(88eeda6311) make -s -j4 2> /dev/null
➜  cpython git:(88eeda6311) ./python.exe -c 'list((lambda: None).__annotations__.__reversed__())'
[1]    36178 segmentation fault  ./python.exe -c 'list((lambda: None).__annotations__.__reversed__())'

----------
nosy: +xtreak

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39668>
_______________________________________


More information about the Python-bugs-list mailing list