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@170 | 1 | class A: |
paulb@170 | 2 | __x = 3 |
paulb@170 | 3 | def f(self): |
paulb@170 | 4 | print self.__x |
paulb@170 | 5 | |
paulb@170 | 6 | class B(A): |
paulb@170 | 7 | __x = 4 |
paulb@170 | 8 | |
paulb@170 | 9 | class C(B): |
paulb@170 | 10 | __x = 5 |
paulb@170 | 11 | def f(self): |
paulb@170 | 12 | print self.__x |
paulb@170 | 13 | |
paulb@170 | 14 | a = A() |
paulb@170 | 15 | a.f() |
paulb@170 | 16 | b = B() |
paulb@170 | 17 | b.f() |
paulb@170 | 18 | c = C() |
paulb@170 | 19 | c.f() |