#7957: problems with real_part function
---------------------------+------------------------------------------------
Reporter: burcin | Owner: burcin
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.3.2
Component: symbolics | Keywords:
Work_issues: needs work? | Author: Burcin Erocal
Upstream: N/A | Reviewer:
Merged: |
---------------------------+------------------------------------------------
Changes (by mvngu):
* cc: rossk (added)
* work_issues: => needs work?
Comment:
Does
[http://trac.sagemath.org/sage_trac/attachment/ticket/7957/trac_7957-pynac_exceptions.patch
trac_7957-pynac_exceptions.patch] depend on anything? I'm getting 3 hunk
failures when applying this to Sage 4.3.1.rc0:
{{{
[mv...@mod sage-main]$ pwd
/dev/shm/mvngu/sage-4.3.1.rc0-7957/devel/sage-main
[mv...@mod sage-main]$ hg qimport http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/7957/trac_7957-pynac_exceptions.patch
adding trac_7957-pynac_exceptions.patch to series file
[mv...@mod sage-main]$ hg qpush
applying trac_7957-pynac_exceptions.patch
patching file sage/symbolic/pynac.pyx
Hunk #31 succeeded at 1538 with fuzz 2 (offset -33 lines).
Hunk #32 FAILED at 1603
Hunk #33 FAILED at 1637
Hunk #34 FAILED at 1668
3 out of 38 hunks FAILED -- saving rejects to file
sage/symbolic/pynac.pyx.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh
trac_7957-pynac_exceptions.patch
[mv...@mod sage-main]$ cat sage/symbolic/pynac.pyx.rej
--- pynac.pyx
+++ pynac.pyx
@@ -1603,7 +1604,7 @@
"""
return py_li(x, n, parent)
-cdef public object py_psi(object x):
+cdef public object py_psi(object x) except +:
"""
EXAMPLES::
@@ -1637,7 +1638,7 @@
"""
return py_psi(x)
-cdef public object py_psi2(object n, object x):
+cdef public object py_psi2(object n, object x) except +:
"""
EXAMPLES::
@@ -1668,14 +1669,14 @@
##################################################################
# Not yet implemented
##################################################################
-cdef public object py_li2(object x):
+cdef public object py_li2(object x) except +:
raise NotImplementedError
##################################################################
# Constants
##################################################################
-cdef public GConstant py_get_constant(char* name):
+cdef public GConstant py_get_constant(char* name) except +:
"""
Returns a constant given its name. This is called by
constant::unarchive in constant.cpp in Pynac and is used for
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7957#comment:2>
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.