Re: feature proposal, debug on exception

2008-05-20 Thread Ville M. Vainio
Simon Forman <[EMAIL PROTECTED]> writes: > This is not exactly an answer to your proposal, I know, but FWIW > Ipython has exactly this capability. Yes. When you %run a scripts and get exception, you can launch post-mortem pdb on it by typing %debug. -- http://mail.python.org/mailman/listinfo/pyt

Re: feature proposal, debug on exception

2008-05-20 Thread alex23
On May 21, 10:59 am, Paul Rubin wrote: > I'd like to propose that debug-on-exception be made into a standard > feature that is easy to enable, e.g. with a command line option > or with a simple pdb call immediately after the import: Forgive me if I've missed your point,

Re: feature proposal, debug on exception

2008-05-20 Thread Simon Forman
On May 20, 5:59 pm, Paul Rubin wrote: > There's an occasional question here about how to get python to launch > pdb on encountering an uncaught exception. The answer is to look in > some ASPN recipe and do some weird magic. I guess that works, but > it's another thing t

feature proposal, debug on exception

2008-05-20 Thread Paul Rubin
There's an occasional question here about how to get python to launch pdb on encountering an uncaught exception. The answer is to look in some ASPN recipe and do some weird magic. I guess that works, but it's another thing to remember or keep looking up when the occasion arises (some program cras