bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict by corona10 · Pull Request #16846 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Lib/test/test_dict.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix a segmentation fault when using reverse iterators of empty ``dict`` objects.
Patch by Dong-hee Na and Inada Naoki.
Comment thread
serhiy-storchaka marked this conversation as resolved.
9 changes: 7 additions & 2 deletions Objects/dictobject.c