]> granicus.if.org Git - python/commit
bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH...
authorDong-hee Na <donghee.na92@gmail.com>
Sat, 19 Oct 2019 20:01:08 +0000 (05:01 +0900)
committerPablo Galindo <Pablogsal@gmail.com>
Sat, 19 Oct 2019 20:01:08 +0000 (21:01 +0100)
commit24dc2f8c56697f9ee51a4887cf0814b6600c1815
treef5f820dcf20dca38f75b20ddb2ece7a2eace8e4d
parent88eeda6311a8e3bf57136da5f73c70bc91ad79f3
bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH-16846)

The reverse iterator for empty dictionaries was not handling correctly shared-key dictionaries.
Lib/test/test_dict.py
Misc/NEWS.d/next/Core and Builtins/2019-10-20-00-36-18.bpo-38525.Vty1cA.rst [new file with mode: 0644]
Objects/dictobject.c