Re: Comparison with False - something I don't understand
- From: Paul Rubin <no.email@xxxxxxxxxxxxxx>
- Date: Thu, 02 Dec 2010 10:09:30 -0800
MRAB <python@xxxxxxxxxxxxxxxxxxx> writes:
When writing the C code for the new regex module I thought that it
would've been easier if I could've used exceptions to propagate errors
and unwind the stack, instead of having to return an error code which
had to be checked by the caller, and then have the caller explicitly
return an error code to /its/ caller.
That's called longjmp.
Automatic garbage collection would also have been nice.
alloca might help.
.
- Follow-Ups:
- Re: Comparison with False - something I don't understand
- From: John Nagle
- Re: Comparison with False - something I don't understand
- From: MRAB
- Re: Comparison with False - something I don't understand
- From: Grant Edwards
- Re: Comparison with False - something I don't understand
- From: Tim Harig
- Re: Comparison with False - something I don't understand
- References:
- Re: Comparison with False - something I don't understand
- From: Harishankar
- Re: Comparison with False - something I don't understand
- From: Tim Harig
- Re: Comparison with False - something I don't understand
- From: Harishankar
- Re: Comparison with False - something I don't understand
- From: Tim Harig
- Re: Comparison with False - something I don't understand
- From: MRAB
- Re: Comparison with False - something I don't understand
- Prev by Date: Re: Comparison with False - something I don't understand
- Next by Date: Re: Comparison with False - something I don't understand
- Previous by thread: Re: Comparison with False - something I don't understand
- Next by thread: Re: Comparison with False - something I don't understand
- Index(es):
Relevant Pages
|