Re-throwing an exception without loosing the stack trace

David Bolen db3l at fitlinxx.com
Tue Feb 12 22:30:36 EST 2002


"Clark C . Evans" <cce at clarkevans.com> writes:

> Yes.  I didn't try using raise without any arguments.  Cool.
> Funny, this isn't in Learning Python... and raise all by
> itself isn't listed in the syntax in the book.  Hmm.

Not sure about the book, but it was added to the Tutorial (section
8.4) in Python 2.2.  It's also always been in the language reference
(section 6.8) at least back to the 1.5.2 copy I have, but admittedly
that's not necessarily one of the documents people might typically go
to.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list