#13864: Configure Python with  pydebug when SAGE_DEBUG is set
-------------------------------------+--------------------------------------
       Reporter:  jpflori            |         Owner:  jason          
           Type:  enhancement        |        Status:  positive_review
       Priority:  major              |     Milestone:  sage-5.6       
      Component:  misc               |    Resolution:                 
       Keywords:  python spkg        |   Work issues:                 
Report Upstream:  N/A                |     Reviewers:  Volker Braun   
        Authors:  Jean-Pierre Flori  |     Merged in:                 
   Dependencies:  #13865             |      Stopgaps:                 
-------------------------------------+--------------------------------------

Comment (by jpflori):

 Ok, I think I got the problem you reported (the one segfault doing basic
 arith with Integer's).

 If I'm correct, the problem is that we hook up Integer creation and
 deletion and Python debug gets confused.
 Have a look at the end of integer.pyx.
 If you try to compute "one + one" before the call to
 hook_fast_tp_functions() it succeeds, but after that it will fail during
 deallocation.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13864#comment:45>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to