#4368: [with patch, nearly positive review] Create a function which gets an
attribute from an object and calls it with specified arguments and keywords
-------------------------+--------------------------------------------------
Reporter: mhansen | Owner: mhansen
Type: enhancement | Status: assigned
Priority: minor | Milestone: sage-3.2.1
Component: misc | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by robertwb):
* summary: [with patch, needs review] Create a function which gets an
attribute from an object and calls it with
specified arguments and keywords => [with
patch, nearly positive review] Create a
function which gets an attribute from an object
and calls it with specified arguments and
keywords
Comment:
OK, looking into this more, I see that functools won't help much (as the
callable isn't specified ahead of time). It looks good and works well.
Positive review, pending the (presumably just a typo) fix from mvngu
above. BTW, I like the "*.foo(x)" string representation.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4368#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---