#6223: Remove ext/python_*.pxi
----------------------------+-----------------------------------------------
Reporter: robertwb | Owner: tbd
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.6
Component: distribution | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Changes (by jdemeyer):
* status: new => needs_work
* upstream: => N/A
Comment:
Removing {{{include "../ext/python_list.pxi"}}} from
{{{sage/structure/coerce_dict.pyx}}} gives trouble:
{{{
python `which cython` --embed-positions --directive
cdivision=True,autotestdict=False -I/usr/local/src/sage-4.6.alpha3/devel
/sage-test -o sage/structure/coerce_dict.c sage/structure/coerce_dict.pyx
Error converting Pyrex file to C:
------------------------------------------------------------
...
cdef get(self, k1, k2, k3):
cdef Py_ssize_t h = (<Py_ssize_t><void *>k1 + 13*<Py_ssize_t><void
*>k2 ^ 503*<Py_ssize_t><void *>k3)
if h < 0: h = -h
cdef Py_ssize_t i
bucket = <object>PyList_GET_ITEM(self.buckets, h %
PyList_GET_SIZE(self.buckets))
^
------------------------------------------------------------
/usr/local/src/sage-4.6.alpha3/devel/sage-
test/sage/structure/coerce_dict.pyx:225:40: undeclared name not builtin:
PyList_GET_ITEM
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6223#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.