On Fri, Mar 13, 2015 at 07:37:56PM +0100, Julien Puydt wrote:
> Hi,
>
> Unfortunately, the sagemath devs have started packaging a snapshot
> of pari 2.8 and use more non-2.7 features than just error
> management, so there is no point anymore in trying to restore
> compatibility :'-(
Yes I know. T
Hi,
Le 12/03/2015 19:18, Bill Allombert a écrit :
On Sun, Mar 08, 2015 at 04:09:55PM +0100, Julien Puydt wrote:
Hi,
Le 07/03/2015 22:48, Bill Allombert a écrit :
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 det
On Sun, Mar 08, 2015 at 04:09:55PM +0100, Julien Puydt wrote:
> Hi,
>
> Le 07/03/2015 22:48, Bill Allombert a écrit :
> >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
Hi,
Le 07/03/2015 22:48, Bill Allombert a écrit :
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 exc
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 e
Hi,
Le 06/03/2015 23:33, Bill Allombert a écrit :
On Thu, Mar 05, 2015 at 05:46:13PM +0100, Julien Puydt wrote:
cdef GEN E
cdef long errnum
cdef jmp_buf env
iferr_env = &env
if setjmp (iferr_env[0]) != 0:
E = pari_err_last()
errnum = E[1]
_par
On Thu, Mar 05, 2015 at 05:46:13PM +0100, Julien Puydt wrote:
> cdef GEN E
> cdef long errnum
> cdef jmp_buf env
> iferr_env = &env
> if setjmp (iferr_env[0]) != 0:
> E = pari_err_last()
> errnum = E[1]
> _pari_err_handle(E)
> cb_pari_err_recover(
Le 04/03/2015 23:55, Bill Allombert a écrit :
On Wed, Mar 04, 2015 at 10:47:28PM +0100, Julien Puydt wrote:
block that is put somewhere appropriate.
*They* won't do anything, but *I* am trying to wrap my head between
what they already have, and what they should have -- I must admit
I'm quite
On Wed, Mar 04, 2015 at 10:47:28PM +0100, Julien Puydt wrote:
> >block that is put somewhere appropriate.
>
> *They* won't do anything, but *I* am trying to wrap my head between
> what they already have, and what they should have -- I must admit
> I'm quite unfamiliar with setjmp/longjmp.
> Let
Hi,
Le 04/03/2015 19:54, Bill Allombert a écrit :
On Wed, Mar 04, 2015 at 10:47:15AM +0100, Julien Puydt wrote:
Hi,
Le 04/03/2015 00:53, Bill Allombert a écrit :
I expect they should do something like
if (setjmp(&iferr_env))
{
GEN E = pari_err_last();
char *s = GSTR(GENtoGENstr(E));
On Wed, Mar 04, 2015 at 10:47:15AM +0100, Julien Puydt wrote:
> Hi,
>
> Le 04/03/2015 00:53, Bill Allombert a écrit :
> >
> >I expect they should do something like
> >if (setjmp(&iferr_env))
> >{
> > GEN E = pari_err_last();
> > char *s = GSTR(GENtoGENstr(E));
> > fprintf(stderr,s);
> > ..
Hi,
Le 04/03/2015 00:53, Bill Allombert a écrit :
I expect they should do something like
if (setjmp(&iferr_env))
{
GEN E = pari_err_last();
char *s = GSTR(GENtoGENstr(E));
fprintf(stderr,s);
...
}
before the point they are recovering using cb_pari_err_recover() at this time.
I had
On Wed, Feb 18, 2015 at 10:40:24AM +0100, Julien Puydt wrote:
> >>- they also have backported patches to add cb_pari_err_handle from
> >>upstream's repository (see end of this mail).
> >>
> >>Can we get those in debian too?
> >
> >This patch is breaking the ABI and API, thus this is not possible to
Hi,
Le 11/02/2015 21:44, Bill Allombert a écrit :
On Fri, Feb 06, 2015 at 07:08:49PM +0100, Julien Puydt wrote:
Package: pari-gp
Version: 2.7.2-1
Severity: wishlist
Hello Julien,
While trying to use the debian package in sagemath, it turned out
two things were lacking to make it work:
- the
On Fri, Feb 06, 2015 at 07:08:49PM +0100, Julien Puydt wrote:
> Package: pari-gp
> Version: 2.7.2-1
> Severity: wishlist
Hello Julien,
> While trying to use the debian package in sagemath, it turned out
> two things were lacking to make it work:
> - they use anal.h ;
This is a private header fil
Package: pari-gp
Version: 2.7.2-1
Severity: wishlist
While trying to use the debian package in sagemath, it turned out two
things were lacking to make it work:
- they use anal.h ;
- they also have backported patches to add cb_pari_err_handle from
upstream's repository (see end of this mail).
16 matches
Mail list logo