Ticket #645 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 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: Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

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 3 years ago.

Change History

Changed 3 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 3 years ago by mhansen

Changed 3 years ago by mhansen

This should be applied after #1345.

Changed 3 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/*.

Changed 3 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.