#12977: Let singular_function expect "attributes" not as a dict
---------------------------------------+----------------------------
Reporter: SimonKing | Owner: malb
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: commutative algebra | Resolution:
Keywords: sd40.5 | Merged in:
Authors: Simon King | Reviewers: Mike Hansen
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------------+----------------------------
Comment (by SimonKing):
Replying to [comment:17 malb]:
> Sorry for being late to the party.
>
> I am wondering, though, whether we every want to compare '''not''' by
identit as we are talking about attributes of objects here.
I wonder as well. From my perspective, comparing by identity is fine.
> We could keep the dict notation but write our own little loop (similar
to your tuple loop) which compares keys. These dicts will be small, so the
overhead is okay, I'd say.
Is this really so easy? If the dictionary contains at least two ideals,
then the ''creation'' of this dictionary might be problematic, due to
broken hash and slow comparison.
--
Ticket URL: <http://trac.sagemath.org/ticket/12977#comment:18>
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/groups/opt_out.