On Mon, Apr 28, 2014 at 9:41 AM, Volker Braun wrote:
> On Monday, April 28, 2014 5:38:39 PM UTC+1, William wrote:
>>
>> But then you have to convert to a different type first, e.g.,
>> list(sorted(x.items())), right?
>
>
> Output is a json string.
Oh, I see. Thanks for the clarification.
>
>
>
On Monday, April 28, 2014 5:38:39 PM UTC+1, William wrote:
>
> But then you have to convert to a different type first, e.g.,
> list(sorted(x.items())), right?
>
Output is a json string.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsub
On Mon, Apr 28, 2014 at 9:36 AM, Volker Braun wrote:
> On Monday, April 28, 2014 5:26:43 PM UTC+1, William wrote:
>>
>> is clearly broken -- you can't test dictionaries for equality textual.
>
>
> you can if you sort the keys.
But then you have to convert to a different type first, e.g.,
list(sor
On Monday, April 28, 2014 5:26:43 PM UTC+1, William wrote:
>
> is clearly broken -- you can't test dictionaries for equality textual.
>
you can if you sort the keys.
You have simplejson installed which is not default, and it apparently uses
a different sort order than json.
--
You received th