Changes between Version 1 and Version 2 of Ticket #11868


Ignore:
Timestamp:
09/29/11 09:11:31 (11 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11868 – Description

    v1 v2  
    22
    33The problem is that the conversion of `b` (Python object) to `t1` (PARI GEN) uses the PARI stack and therefore it clobbers the previously computed `t0`.
     4
     5There is no urgent need to fix this, as the bug doesn't seem to occur in practice (it was discovered when working on #9334).  It only occurs when:
     6 1. Calling a PARI function with at least 2 arguments besides `self`.
     7 2. Apart from the first non-`self` argument, there should be another argument which is a "complicated" Python type (e.g. a number field element).
     8
     9As work-around, it is easy to defeat condition 2 by converting arguments to pari before calling the function.