Bill Allombert on Thu, 14 May 2009 14:08:08 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Broken exception handling in gp_read_str() |
On Thu, May 14, 2009 at 04:11:13AM +0200, Lorenz Minder wrote: > Hi, > > I can't seem to catch errors of gp_read_str() with the TRY / CATCH > mechanism anymore. I don't know when this broke, but it worked in PARI > 2.4.2 and earlier. Actually, catching runtime errors work, but not syntax errors, this is the change below: 2.4.3C12- syntax errors, SIGINT and "PARI bugs" are no longer trapped The whole TRY / CATCH facility need to be improved, see bug http://pari.math.u-bordeaux.fr/Bugs/329 Another issue is that TRY/CATCH is slow. Cheers, Bill.