#16607: Enforce keyword-only parameters
-------------------------------+------------------------
       Reporter:  gagern       |        Owner:
           Type:  enhancement  |       Status:  new
       Priority:  major        |    Milestone:  sage-6.3
      Component:  misc         |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------

Comment (by nbruin):

 -1 for performance reasons. Calls in python are expensive and wrappers
 installed by decorators add a call level. And sage tends to have a *lot*
 of calls already, so these costs quickly add up.

 There would be a way to have both: have a flag set at startup that
 determines whether the decorator puts a check in place or just returns the
 original function. I'm afraid that's too complicated to be used in
 practice, though, but you could try.

--
Ticket URL: <http://trac.sagemath.org/ticket/16607#comment:2>
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