Bill Allombert on Mon, 14 Sep 2009 22:43:37 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: TRY/CATCH is unnecessarily slow on OS X

On Mon, Sep 14, 2009 at 09:40:02AM +0200, Lorenz Minder wrote:
> Hi,
> Thanks for the explanations.
> BA:
> > It is not emitted to stdout. Instead it is emitted throught the
> > structure pariErr which is by default defaultErr (which output to stderr),
> I stand corrected.

You do not have to: this is not clearly documented and the way pari_err
divert pariOut (in err_init()) is particularly unobvious and ugly.

> > but
> > this can be redefined in any way you want. Of course this is not
> > documented.
> > Another place where PARI interface could be improved.
> I have attached a short patch which documents this.  (Not sure I used
> the macros correctly, though. Please check.)

Thanks a lot, I have commited it in revision 11909.