#14254: OverflowErrors in TripleDictEraser
----------------------------+-----------------------------------------------
       Reporter:  jdemeyer  |         Owner:  robertwb
           Type:  defect    |        Status:  new     
       Priority:  blocker   |     Milestone:  sage-5.8
      Component:  coercion  |    Resolution:          
       Keywords:            |   Work issues:          
Report Upstream:  N/A       |     Reviewers:          
        Authors:            |     Merged in:          
   Dependencies:            |      Stopgaps:          
----------------------------+-----------------------------------------------

Comment (by jdemeyer):

 The error happens in the last line here:
 {{{
         cdef TripleDict D = <object>PyWeakref_GetObject(self.D)
         if D is None:
             return
         cdef list buckets = D.buckets
         if buckets is None:
             return
         # r is a (weak) reference (typically to a parent), and it knows
 the
         # stored key of the unique triple r() had been part of.
         # We remove that unique triple from self.D
         cdef Py_ssize_t k1,k2,k3
         k1,k2,k3 = r.key
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14254#comment:22>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to