On Mon, Dec 06, 2004 at 11:24:34AM -0800, Andrew Wendt wrote: > On Monday 06 December 2004 10:32, Daniel Jung wrote: > [...] > > for c in (callers()) > > block = [EMAIL PROTECTED], tostr(c[1], ":", c[2])}; > > endfor > [...] > > Now I _really_ would like to get hold of the line, not only the object and > > verb name. Callers() wouldn't reveal the line; I can't see other functions > > than raise() that could. I tried to jumble raise() into that routine, by > > producing a local, recoverable error like this: > > Using callers() won't reveal the line, but callers(1) will, right?
Yes, callers(1) does show line numbers. Just checked on 1.8.1+foo2.7.4. -Sean -- /~\ The ASCII \ / Ribbon Campaign Sean Davis X Against HTML aka dive / \ Email! ############################################################# This message is sent to you because you are subscribed to the mailing list <[EMAIL PROTECTED]>. To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>