#19194: inconsistencies with dbgprinttree of functions
-------------------------+-------------------------------------------------
   Reporter:  rws        |            Owner:
       Type:  defect     |           Status:  new
   Priority:  minor      |        Milestone:  sage-6.9
  Component:  symbolics  |         Keywords:
  Merged in:             |          Authors:
  Reviewers:             |  Report Upstream:  Fixed upstream, in a later
Work issues:             |  stable release.
     Commit:             |           Branch:
   Stopgaps:             |     Dependencies:  pynac-0.3.9.4
-------------------------+-------------------------------------------------
 {{{
 sage: f=function('f')(x)
 sage: f._dbgprint()
 f(x)
 sage: f._dbgprinttree()
 f(x)sa(sin(x))._dbgprinttree()             <=========== sic!
 function sin @0x38eccd0, hash=0x7fff, flags=0x3, nops=1
     x (symbol) @0x2a00bf0, serial=6, hash=0x4eb55146, flags=0xf, domain=0
     =====
 sage: (f(x))._dbgprinttree()
 /home/ralf/sage/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:3035: DeprecationWarning:
 Substitution using function-call syntax and unnamed arguments is
 deprecated and will be removed from a future release of Sage; you can use
 named arguments instead, like EXPR(x=..., y=...)
 See http://trac.sagemath.org/5930 for details.
   exec(code_obj, self.user_global_ns, self.user_ns)
 f(x)sage: (f(x))
 f(x)
 }}}
 So a newline is missing somewhere and user-defined functions have no debug
 output at all.

 https://github.com/pynac/pynac/issues/93

--
Ticket URL: <http://trac.sagemath.org/ticket/19194>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to