call site 10 for code.Traceback.__init__
code/testing/test_excinfo.py - line 145
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
   def test_traceback_getcrashentry(self):
       def i():
           __tracebackhide__ = True
           raise ValueError 
       def h():
           i()
       def g():
           __tracebackhide__ = True
           h()
       def f():
           g()
   
       excinfo = py.test.raises(ValueError, f)
       tb = excinfo.traceback
->     entry = tb.getcrashentry()
       co = py.code.Code(h)
       assert entry.frame.code.path == co.path
       assert entry.lineno == co.firstlineno + 1 
       assert entry.frame.code.name == 'h'
code/traceback2.py - line 156
152
153
154
155
156
157
158
159
   def getcrashentry(self):
       """ return last non-hidden traceback entry that lead
           to the exception of a traceback. 
           """
->     tb = self.filter()
       if not tb:
           tb = self
       return tb[-1]
code/traceback2.py - line 150
140
141
142
143
144
145
146
147
148
149
150
   def filter(self, fn=lambda x: not x.ishidden()):
       """ return a Traceback instance with certain items removed
   
               fn is a function that gets a single argument, a TracebackItem
               instance, and should return True when the item should be added
               to the Traceback, False when not
   
               by default this removes all the TracebackItems which are hidden
               (see ishidden() above)
           """
->     return Traceback(filter(fn, self))