#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 SimonKing):

 Replying to [comment:14 jdemeyer]:
 > > Note that we actually ''do'' want a conversion from and to <void*>.
 So, shouldn't we actually use Py_intptr_t, not Py_ssize_t?
 >
 > That's all true but it wouldn't solve this error.

 Well, you didn't tell yet were exactly the error is located.

 Lacking more information, my guess was that an overflow could occur on
 systems where `sizeof(Py_ssize_t)==sizeof(size_t)` differs from
 `sizeof(Py_intptr_t)==sizeof(void*)`. So, why are you sure that the
 problem is ''not'' related with conversion between size_t and to pointers?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14254#comment:15>
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