Slight adaptation of Michael Hudson's patch to test PyDict_Next()
(with modification of existing dict elements!). This is part of SF patch #409864: lazy fix for Pings bizarre scoping crash. The adaptation I made to Michael's patch was to change the error handling to avoid masking other errors (moving the specific error message to inside test_dict_inner()), and to insert a test for dict==NULL at the start.
G
Guido van Rossum committed
eb0d992520c99a1756be36199e976af8d66fb491
Parent: 361c535