On Sat, Mar 07, 2015 at 12:59:36PM +0100, Julien Puydt wrote: > >How does cb_pari_err_recover() work ? > > Their cb_pari_err_handle detects if it's a short stack problem > (errnum == e_STACK), in which case it doubles the stack and doesn't > throw an exception. If it's another problem, it blocks exceptions, > throws one and unblock. > > Then cb_pari_err_recover gets called: if no exception has been > thrown, it decides the stack was doubled and retries. If an > exception has been thrown, it throws it further.
Why cannot this be done directly by cb_pari_err_handle ? Rethrow the error seems needlessly complex. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org