Re: [BangPypers] suppressing the exception stack trace

2009-09-16 Thread Vishal
On Tue, Sep 15, 2009 at 9:07 PM, steve st...@lonetwin.net wrote: On 09/15/2009 08:56 PM, Vishal wrote: Hello, I would like to raise an exception of type Exception(), however the regular exception stack trace needs to be supressed. This is needed in a function that takes raw_input() from

Re: [BangPypers] suppressing the exception stack trace

2009-09-16 Thread ashok raavi
On Wed, Sep 16, 2009 at 11:39 AM, Vishal vsapr...@gmail.com wrote: On Tue, Sep 15, 2009 at 9:07 PM, steve st...@lonetwin.net wrote: On 09/15/2009 08:56 PM, Vishal wrote: Hello, I would like to raise an exception of type Exception(), however the regular exception stack trace needs to be

Re: [BangPypers] suppressing the exception stack trace

2009-09-16 Thread steve
On 09/16/2009 11:39 AM, Vishal wrote: On Tue, Sep 15, 2009 at 9:07 PM, steve st...@lonetwin.net mailto:st...@lonetwin.net wrote: On 09/15/2009 08:56 PM, Vishal wrote: Hello, I would like to raise an exception of type Exception(), however the regular exception

[BangPypers] suppressing the exception stack trace

2009-09-15 Thread Vishal
Hello, I would like to raise an exception of type Exception(), however the regular exception stack trace needs to be supressed. This is needed in a function that takes raw_input() from the user and based on 'Y' or 'N', the function suspends further execution and returns to the python prompt or

Re: [BangPypers] suppressing the exception stack trace

2009-09-15 Thread Noufal Ibrahim
On Tue, Sep 15, 2009 at 8:56 PM, Vishal vsapr...@gmail.com wrote: Hello, I would like to raise an exception of type Exception(), however the regular exception stack trace needs to be supressed. This is needed in a function that takes raw_input() from the user and based on 'Y' or 'N', the