<?xml version="1.0" encoding="windows-1252"?>
<node id="993342" title="Re^4: regular expression to extract exception/errors in python code base" created="2012-09-12 22:03:55" updated="2012-09-12 22:03:55">
<type id="11">
note</type>
<author id="458070">
MonkOfAnotherSect</author>
<data>
<field name="doctext">
Asab,&lt;p&gt;

I suspect that you're &lt;i&gt;asking the wrong question&lt;/i&gt;.  Grepping like that you'll miss anything uncaught but raised from standard libraries and code, etc.  Suggest for python questions that you post a sufficiently detailed description/example of what you actually want to achieve on &lt;a href="http://mail.python.org/mailman/listinfo/tutor"&gt;python-tutor&lt;/a&gt; or &lt;a href="http://mail.python.org/mailman/listinfo/python-list"&gt;python-list&lt;/a&gt; (aka comp.lang.python).  The correct answer probably involves the &lt;a href="http://docs.python.org/library/traceback.html"&gt;traceback module&lt;/a&gt;.&lt;p&gt;

-T.</field>
<field name="root_node">
992561</field>
<field name="parent_node">
992681</field>
</data>
</node>
