#14585: Make lazy_format and lazy_string faster
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner: robertwb
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: Simon King | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/SimonKing/Make_lazy_format_faster| aafac26f2b18dc81e79496d6eeba03d69f364038
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
Comment:
Instead of
{{{
def __init__(self, f, tuple args, dict kwargs):
}}}
better use
{{{
def __init__(self, f, args, kwargs):
}}}
If you really want to check, you can do use by
{{{
self.args = <tuple?>args
self.kwds = <dict?>kwds
}}}
(this also disallows `None` for `args` and `kwds`)
--
Ticket URL: <http://trac.sagemath.org/ticket/14585#comment:55>
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.