Amaury Forgeot d'Arc added the comment: The patch is incomplete: the VISIT macro contains a "return 0;" and in this case st->recursion_depth is not decremented. OTOH errors are never caught, so it's not necessary to do any cleanup in case of errors. Here is a simplified patch.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5765> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com