[Python-Dev] PEP 344 (was: with_traceback) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 3 05:12:04 CET 2007
- Previous message: [Python-Dev] PEP 344 (was: with_traceback)
- Next message: [Python-Dev] PEP 344 (was: with_traceback)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
Perhaps we could allow reraising whenever the existing traceback chain contains a reference to a frame that is an ancestor of (or equal to) the newly raising frame?
This is starting to sound terribly hairy.
Would it help if a different syntax were used for raising and reraising? Raising would complain if there were already a traceback, and reraising would expect an existing traceback and extend it.
-- Greg
- Previous message: [Python-Dev] PEP 344 (was: with_traceback)
- Next message: [Python-Dev] PEP 344 (was: with_traceback)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]