]> granicus.if.org Git - python/commit
Make PyDict_Next safe to use for loops that merely modify the values
authorTim Peters <tim.peters@gmail.com>
Wed, 21 Mar 2001 19:23:56 +0000 (19:23 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 21 Mar 2001 19:23:56 +0000 (19:23 +0000)
commit6783070ebfa77aeaf7b5db758095e93cf8e2635c
tree967325506c77a2d32262428c2b93dfb4396ac671
parent66b0e9c2a77bd991ea55ad361bad4eb1a3dc5e78
Make PyDict_Next safe to use for loops that merely modify the values
associated with existing dict keys.
This is a variant of part of Michael Hudson's patch #409864 "lazy fix for
Pings bizarre scoping crash".
Objects/dictobject.c