#2963: make it so that strings pass as arguments and keyword arguments for the
expect interfaces are passed down as string.
-------------------------+--------------------------------------------------
Reporter: mhansen | Owner: mhansen
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.1.2
Component: interfaces | Keywords:
Reviewer: | Author:
Merged: |
-------------------------+--------------------------------------------------
Comment(by SimonKing):
Replying to [comment:1 SimonKing]:
> I don't know in what way png is usually called: Frequently and with many
arguments? Then my suggestion might involve a performance problem. Also I
don't know if the application of {{{f}}} to {{{args}}} is needed as well,
or if the application to {{{kwds}}} would be enough.
Sorry, perhaps I misunderstood the role of png: It is just one example,
isn't it? But actually you want that in ''all'' expect interfaces the
transition from 'bla' to '"bla"' is done, right? Then still my suggestion
would solve the problem, but I guess the above lambda function should be
defined in expect.py on module level, so that there is no need to create
the function over and over again.
Then, one would go through ''all'' methods of all expect interfaces, and
do changes to the arguments, if they might be strings. Wow, that would be
much to do! And then I don't know how much performance regression would
occur and if that price would be worth to pay for making the input more
comfortable.
Cheers,
Simon
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2963#comment:2>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---