Opened 6 years ago

Closed 6 years ago

#17546 closed defect (invalid)

odd warning with symbolic function

Reported by: rws Owned by:
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: symbolics Keywords:
Cc: Merged in:
Authors: Reviewers: Ralf Stephan
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

sage: f = function('exp',x)
sage: f(8)
/home/ralf/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py:2883:
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.
exp(8)

Change History (7)

comment:1 follow-up: Changed 6 years ago by jdemeyer

What's the problem? If you don't want the warning:

sage: f(x) = function('exp', x)
sage: f(8)
exp(8)

comment:2 in reply to: ↑ 1 Changed 6 years ago by rws

Replying to jdemeyer:

What's the problem? If you don't want the warning:

sage: f(x) = function('exp', x)
sage: f(8)
exp(8)

Ah ok, I thought it was connected to #17547. But it's quite unclear from the warning what's amiss here.

comment:3 Changed 6 years ago by rws

  • Milestone changed from sage-6.5 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

See also #17708.

comment:4 Changed 6 years ago by kcrisman

Since you opened it and now understand it (seems related to #17447, in fact), you can feel free to do your own review in this limited case. At least, that is my opinion; I don't know how others would react, but I have a fairly liberal interpretation of common Sage practice for that.

comment:5 Changed 6 years ago by rws

  • Status changed from needs_review to positive_review

comment:6 Changed 6 years ago by kcrisman

  • Reviewers set to Ralf Stephan

comment:7 Changed 6 years ago by vbraun

  • Resolution set to invalid
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.