2007-02-14 | paulb | file changeset files shortlog | Fixed disappearing exceptions where unprocessed invocations (due to type information completeness) failed to provide raised exception information (unlike when processed normally), thus "erasing" such information from the caller's namespace. Introduced a copy_of annotation used to generate appropriate invocation hyperlinks for "original functions" in the viewer. |
paulb@168 | 1 | class A: |
paulb@168 | 2 | pass |
paulb@168 | 3 | |
paulb@168 | 4 | def f(x): |
paulb@168 | 5 | try: |
paulb@168 | 6 | try: |
paulb@168 | 7 | y = x.attr |
paulb@168 | 8 | except AttributeError, e: |
paulb@168 | 9 | f = e |
paulb@168 | 10 | except Exception, e: |
paulb@168 | 11 | f = e |
paulb@168 | 12 | return f |
paulb@168 | 13 | |
paulb@168 | 14 | x = A() |
paulb@168 | 15 | f(x) |