]> granicus.if.org Git - python/commit
Slight adaptation of Michael Hudson's patch to test PyDict_Next()
authorGuido van Rossum <guido@python.org>
Fri, 13 Apr 2001 17:08:15 +0000 (17:08 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 13 Apr 2001 17:08:15 +0000 (17:08 +0000)
commiteb0d992520c99a1756be36199e976af8d66fb491
tree81dbfabca5a181df3923c2957ec7a5e2f37c659a
parent361c53586393e5d2920f49d28c3079264ce1957c
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.
Modules/_testcapimodule.c