#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):
I found the following on [http://www.python.org/dev/peps/pep-0353/ PEP
353]:
{{{
Conceptually, Py_intptr_t and Py_ssize_t are different things: Py_intptr_t
needs
to be the same size as void*, and Py_ssize_t the same size as size_t.
These could
differ, e.g. on machines where pointers have segment and offset. On
current
flat-address space machines, there is no difference, so for all practical
purposes,
Py_intptr_t would have worked as well.
}}}
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?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14254#comment:12>
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.