Showing content from http://mail.python.org/pipermail/python-dev/attachments/20171105/f5adcd23/attachment-0001.html below:
<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><div class="gmail_default">Isn't ordered dict also useful for **kwargs? </div><div class="gmail_default"><br></div><div class="gmail_default">If it turns out that there's a dict implementation that's faster by not preserving order, collections.UnorderedDict could be added.</div><div class="gmail_default">There could also be specialized implementations that pre-size the dict (cf: C++ unordered_map::reserve), etc., etc.</div><div class="gmail_default">But these are all future things, which might not be necessary.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 November 2017 at 12:44, Sven R. Kunze <span dir="ltr"><<a href="mailto:srkunze@mail.de" target="_blank">srkunze@mail.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>+1 from me too.<br>
</p><div><div class="h5">
<br>
<div class="m_-5688430489319778729moz-cite-prefix">On 04.11.2017 21:55, Jim Baker wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">+1, as Guido correctly recalls, this language
guarantee will work well with Jython when we get to the point of
implementing 3.7+.
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Nov 4, 2017 at 12:35 PM,
Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This sounds reasonable -- I think when we
introduced this in 3.6 we were worried that other
implementations (e.g. Jython) would have a problem with
this, but AFAIK they've reported back that they can do
this just fine. So let's just document this as a
language guarantee.<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote"><span>On Sat, Nov 4,
2017 at 10:30 AM, Stefan Krah <span dir="ltr"><<a href="mailto:stefan@bytereef.org" target="_blank">stefan@bytereef.org</a>></span>
wrote:<br>
</span>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
Hello,<br>
<br>
would it be possible to guarantee that dict
literals are ordered in v3.7?<br>
<br>
<br>
The issue is well-known and the workarounds are
tedious, example:<br>
<br>
  <a href="https://mail.python.org/pipermail/python-ideas/2015-December/037423.html" rel="noreferrer" target="_blank">https://mail.python.org/piper<wbr>mail/python-ideas/2015-Decembe<wbr>r/037423.html</a><br>
<br>
<br>
If the feature is guaranteed now, people can rely
on it around v3.9.<br>
<br>
<br>
<br>
Stefan Krah<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-dev</a><br>
</span>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/options/python-dev/guido%40p<wbr>ython.org</a><span class="m_-5688430489319778729HOEnZb"><font color="#888888"><br>
</font></span></blockquote>
</div>
<span class="m_-5688430489319778729HOEnZb"><font color="#888888"><br>
<br clear="all">
<br>
-- <br>
<div class="m_-5688430489319778729m_1482653042735678841gmail_signature" data-smartmail="gmail_signature">--Guido van
Rossum (<a href="http://python.org/%7Eguido" target="_blank">python.org/~guido</a>)</div>
</font></span></div>
<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/jbaker%40zyasoft.com" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/options/python-dev/jbaker%<wbr>40zyasoft.com</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="m_-5688430489319778729mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre><div><div class="h5">______________________________<wbr>_________________
Python-Dev mailing list
<a class="m_-5688430489319778729moz-txt-link-abbreviated" href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a>
<a class="m_-5688430489319778729moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a></div></div>
Unsubscribe: <a class="m_-5688430489319778729moz-txt-link-freetext" href="https://mail.python.org/mailman/options/python-dev/srkunze%40mail.de" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>srkunze%40mail.de</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/pludemann%40google.com" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>pludemann%40google.com</a><br>
<br></blockquote></div><br></div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4