Re: display of dicts?

Chris Barker <[email protected]> Tue, 19 Dec 2017 09:51:32 -0800
Newsgroups gmane.comp.python.ipython.devel
Message-ID <CALGmxEJ_iuzyjx9o1Z8mUEH16PFixRbr_2bMXJ__vmtxtyGddA@mail.gmail.com>
--===============5282593015802164925==
Content-Type: multipart/alternative; boundary="f403045c0f746b0bab0560b52002"

--f403045c0f746b0bab0560b52002
Content-Type: text/plain; charset="UTF-8"

On Tue, Dec 19, 2017 at 9:37 AM, Thomas Kluyver <[email protected]> wrote:

> I'm leaning slightly towards making insertion order the default in Python
> 3.7 - it will be meaningful some of the time, and it is now part of what a
> dict is - but I think we should ensure the same release adds an easy way to
> switch back to displaying sorted dicts.
>

Sounds like a good plan. while we're at it -- could we add a way to specify
a sort key function?

-CHB


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

--f403045c0f746b0bab0560b52002
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, Dec 19, 2017 at 9:37 AM, Thomas Kluyver <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</sp=
an> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D=
"gmail_extra"><div class=3D"gmail_quote"><div>I&#39;m leaning slightly towa=
rds making insertion order the default in Python 3.7 - it will be meaningfu=
l some of the time, and it is now part of what a dict is - but I think we s=
hould ensure the same release adds an easy way to switch back to displaying=
 sorted dicts.</div></div></div></div></blockquote><div><br></div><div>Soun=
ds like a good plan. while we&#39;re at it -- could we add a way to specify=
 a sort key function?</div><div><br></div><div>-CHB</div><div>=C2=A0</div><=
/div><div><br></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D=
"gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Eme=
rgency Response Division<br>NOAA/NOS/OR&amp;R =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0(206) 526-6959=C2=A0=C2=A0 voice<br>7600 Sand Point Way NE =C2=
=A0=C2=A0(206) 526-6329=C2=A0=C2=A0 fax<br>Seattle, WA =C2=A098115 =C2=A0 =
=C2=A0 =C2=A0=C2=A0(206) 526-6317=C2=A0=C2=A0 main reception<br><br><a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</=
a></div>
</div></div>

--f403045c0f746b0bab0560b52002--

--===============5282593015802164925==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/ipython-dev

--===============5282593015802164925==--