#5405: [with patch, needs work] create a decorator for adding default keyword
arguments to a function
---------------------------+------------------------------------------------
   Reporter:  mhansen      |       Owner:  cwitty      
       Type:  enhancement  |      Status:  needs_review
   Priority:  minor        |   Milestone:  sage-4.3    
  Component:  misc         |    Keywords:              
Work_issues:               |      Author:              
   Upstream:  N/A          |    Reviewer:              
     Merged:               |  
---------------------------+------------------------------------------------
Changes (by timdumol):

  * status:  needs_work => needs_review
  * upstream:  => N/A


Comment:

 Nevermind, `functools.partial` is not a decorator. My apologies.

 This patch should do the trick. I named it `specialize` rather than
 `partial`, since `partial` conflicts with `functools.partial`.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5405#comment:17>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to