Changes between Initial Version and Version 3 of Ticket #18697


Ignore:
Timestamp:
06/24/15 08:10:07 (6 years ago)
Author:
rws
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18697

    • Property Dependencies changed from to #10035
    • Property Report Upstream changed from N/A to Reported upstream. Developers acknowledge bug.
  • Ticket #18697 – Description

    initial v3  
    66
    77https://github.com/pynac/pynac/issues/71
     8
     9The Pynac issue will need this fix(!) to work:
     10{{{
     11diff --git a/src/sage/symbolic/pynac.pyx b/src/sage/symbolic/pynac.pyx
     12--- a/src/sage/symbolic/pynac.pyx
     13+++ b/src/sage/symbolic/pynac.pyx
     14@@ -2036,10 +2041,10 @@ cdef public GConstant py_get_constant(const_char_ptr name) except +:
     15         pc = c._pynac
     16         return pc.object
     17 
     18-cdef public object py_eval_constant(unsigned serial, object kwds) except +:
     19+cdef public object py_eval_constant(unsigned serial, object parent) except +:
     20     from sage.symbolic.constants import constants_table
     21     constant = constants_table[serial]
     22-    return kwds['parent'](constant)
     23+    return parent(constant)
     24}}}