[Python-Dev] setjmp/longjmp exception handling
Brett C.
bac at OCF.Berkeley.EDU
Thu Oct 23 20:26:34 EDT 2003
More information about the Python-Dev mailing list
Thu Oct 23 20:26:34 EDT 2003
- Previous message: [Python-Dev] setjmp/longjmp exception handling (was: More informative error messages)
- Next message: More informative error messages (Re: [Python-Dev] Efficient predicates for the standard library)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin v. Löwis wrote: > "Brett C." <bac at OCF.Berkeley.EDU> writes: > > >>The basic idea is to keep a stack of jmp_buf points. > > > This is an old implementation strategy for exceptions in C++; e.g. GNU > g++ uses it with -fsjlj-exception option. It is generally discouraged > as it is *really* expensive: it requires a lot of memory per jmpbuf, > and it requires that the memory is filled. > Figures. Oh well. At least it was interesting to figure out.
- Previous message: [Python-Dev] setjmp/longjmp exception handling (was: More informative error messages)
- Next message: More informative error messages (Re: [Python-Dev] Efficient predicates for the standard library)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list