擅长:python、mysql、java
<p>我没有看到一个标准;每个人似乎都有自己的标准(参见<a href="https://stackoverflow.com/questions/60848/how-do-you-retrieve-items-from-a-dictionary-in-the-order-that-theyre-inserted">this question</a>的答案)。如果你能使用PEP 372中的<code>OrderedDict</code><a href="http://bugs.python.org/issue5397" rel="nofollow noreferrer">patch</a>,那是你最好的选择。任何包含在stdlib中的东西都有很高的几率成为一到两年后每个人使用的东西。</p>