Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: regular expression to extract exception/errors in python code base

by MonkOfAnotherSect (Sexton)
on Sep 13, 2012 at 02:03 UTC ( #993342=note: print w/replies, xml ) Need Help??


in reply to Re^3: regular expression to extract exception/errors in python code base
in thread regular expression to extract exception/errors in python code base

Asab,

I suspect that you're asking the wrong question. 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 python-tutor or python-list (aka comp.lang.python). The correct answer probably involves the traceback module.

-T.

  • Comment on Re^4: regular expression to extract exception/errors in python code base

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993342]
help
Chatterbox?
[james28909]: yeah but it would rename those subs xD
[Lady_Aleena]: I'd say, go back to my scratchpad, and really look at what the 3 subs are doing, then play. Meanwhile, I am going afk for about an hour +/- a few minutes.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-05-24 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?