Re: Detecting an active exception

2007-06-01 Thread NeBlackCat
lause creates a pseudo-function call to the first handling line). - John Duncan Booth wrote: > "NeBlackCat (lists)" <[EMAIL PROTECTED]> wrote: > > >> Depending on what you read, sys.exc_info() is supposed to return >> (None,None,None) when there is no ac

Re: Detecting an active exception

2007-06-01 Thread NeBlackCat
do a PEP to ask for this feature. If anyone does know a way to do it in the current implementation, even by stack examining, I'd love to hear it! :-) Cheers - John Duncan Booth wrote: > "NeBlackCat (lists)" <[EMAIL PROTECTED]> wrote: > > >> Depending on

Detecting an active exception

2007-06-01 Thread NeBlackCat (lists)
Hello everybody - my first post! And it may be the most monumentally stupid question ever asked, but I just can't see an answer after several hours experimenting, searching and reading. It's simply this - how can a function determine whether or not it's being called in handling of an exception