Index: Misc/find_recursionlimit.py =================================================================== --- Misc/find_recursionlimit.py (révision 66411) +++ Misc/find_recursionlimit.py (copie de travail) @@ -88,7 +88,10 @@ test_func = globals()[test_func_name] try: test_func() - except RuntimeError: + # AttributeError can be raised because of the way e.g. PyDict_GetItem() + # silences all exceptions and returns NULL, which is usually interpreted + # as "missing attribute". + except (RuntimeError, AttributeError): pass else: print "Yikes!"