Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Le dimanche 22 juin 2008 à 19:23 +0000, Adam Olsen a écrit : > For this behaviour, this is the most natural way to write it. > Conceptually, there shouldn't be a cycle
I agree your example is not far-fetched. How about avoiding cycles for implicit chaining, and letting users shoot themselves in the foot with explicit recursive chaining if they want? Detection would be cheap enough, just a simple loop without any memory allocation. > the traceback should be the > lookup, then the fallback, then whatever code is about this - exactly > the order the code executed in. It would be the reverse: first the fallback, then the re-raised exception. The last caught exception is always reported last, because it's supposed to be the "main" or "highest-level" one. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3112> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com