#14388: Fix Cygwin failure in plural polynomials overflow error
-----------------------------------+----------------------------------------
Reporter: kcrisman | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-5.9
Component: porting: Cygwin | Resolution:
Keywords: Cygwin | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------------------
Comment (by nbruin):
Replying to [comment:16 kcrisman]:
It should be clear now that I'm not the best reference for such cython-
specific things either. How about:
{{{
cdef extern from *:
ctypedef long Py_hash_t
}}}
All we need to do is convince Cython it can use the type `Py_hash_t` in
long-like contexts and that the C-compiler will know how to handle it.
Cython-generated c-files *contain* the type definition for `Py_hash_t`
already anyway.
The python C-api actually specifies that `tp_hash` special methods should
return a `C long`, so perhaps the `Py_hash_t` thing is a Cython internal
type anyway.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14388#comment:17>
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.