Ticket #645 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

[with patch, with positive review] multi-argument call for symbolic expressions

Reported by: robertwb Owned by: mhansen
Priority: major Milestone: sage-2.8.15
Component: calculus Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

sage: x,y = var('x y')
sage: f(3)
y + 3
sage: f(3)(4)
7
sage: f(3,4)
---------------------------------------------------------------------------
<type 'exceptions.TypeError'>             Traceback (most recent call last)

/Users/robert/sage/sage-2.5/devel/sage-working/<ipython console> in <module>()

<type 'exceptions.TypeError'>: __call__() takes at most 2 arguments (3 given)
sage: 

Attachments

645.patch Download (1.8 KB) - added by mhansen 5 years ago.

Change History

comment:1 Changed 5 years ago by mhansen

  • Owner changed from was to mhansen
  • Status changed from new to assigned
  • Summary changed from multi-argument call for symbolic expressions to [with patch] multi-argument call for symbolic expressions
  • Milestone changed from sage-feature to sage-2.8.15

Changed 5 years ago by mhansen

comment:2 Changed 5 years ago by mhansen

This should be applied after #1345.

comment:3 Changed 5 years ago by cwitty

  • Summary changed from [with patch] multi-argument call for symbolic expressions to [with patch, with positive review] multi-argument call for symbolic expressions

Looks good to me, and doctests still pass in sage/calculus/*.

comment:4 Changed 5 years ago by mabshoff

  • Status changed from assigned to closed
  • Resolution set to fixed

Merged in 2.8.15.alpha0.

Note: See TracTickets for help on using tickets.