#17362: add guidelines for testing dicts to devel guide
---------------------------------+------------------------
Reporter: kcrisman | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.5
Component: documentation | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+------------------------
Comment (by kcrisman):
> > And, more relevant to my immediate concern, what if the keys
themselves are dictionary-enough that ''they'' are platform-dependent?
See #16331 for an explicit example of this. It would be great if you
could give some advice for that, because we haven't come to any useful
consensus yet.
> Well, #16331 is special because you're sorting a list containing
integers and strings. The problem is that the output of
`sorted([3,"foo"])` isn't well-defined.
Yikes, and apparently [http://www.peterbe.com/plog/sorting-mixed-type-
lists-in-python-3 isn't even allowed] in Python 3.
> the IPython order is the sorted order.
Hmm, although I still think some updating could be done, I guess a ticket
just for that or the graphics thing, which is now everywhere, probably
isn't that worthwhile.
--
Ticket URL: <http://trac.sagemath.org/ticket/17362#comment:7>
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.