]> granicus.if.org Git - python/commit
While I was modifying test_trace, it threw an exception when I accidentally
authorJeffrey Yasskin <jyasskin@gmail.com>
Mon, 18 May 2009 21:14:54 +0000 (21:14 +0000)
committerJeffrey Yasskin <jyasskin@gmail.com>
Mon, 18 May 2009 21:14:54 +0000 (21:14 +0000)
commit61328eef1fdb8f8bb292e07839be55e917ae4f7a
tree5e89e77dc7d76a415de6a488b4af8a39dd2f5547
parentfceb5d478fcc43b764a9d1ad0a90e098828a7f64
While I was modifying test_trace, it threw an exception when I accidentally
made it try to set the line number from the trace callback for a 'call' event.
This patch makes the error message a little more helpful in that case, and
makes it a little less likely that a future editor will make the same mistake
in test_trace.
Lib/test/test_trace.py
Objects/frameobject.c