#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:9 kcrisman]:
> and apparently this `Py_hash_t` doesn't even show up in the Sage source
code! Or so `search_src` says.
It's a standard type in CPython, so then it simply doesn't get imported
into cython. Something along the lines of
{{{
cdef extern ctypedef int Py_hash_t
}}}
should do the trick (as far as cython is concerned, typechecking on `int`
is close enough. The generated `C` will see the proper definition).
If you feel that's too heavy handed you can also just cast `<long><void
*>self`, which will be close enough.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14388#comment:11>
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.