[docs] [issue33819] Mention "ordered mapping" instead of "ordered dictionary" in email module

R. David Murray report at bugs.python.org
Tue Jun 12 08:21:27 EDT 2018

R. David Murray <rdmurray at bitdance.com> added the comment:

Message/EmailMessage are intentionally mimicing the full dictionary API, not just the Mapping API (with a couple exceptions and several extensions).  But it is important to mention that it is ordered, both for the reason INADA stgtes, and because the text goes on to discuss the handling of duplicate headers and what happens when you add and delete headers.  While this turns out to be almost the same as the rules used by a standard python dictionary, that is partially a coincidence....other ordering rules could have been chosen.

nosy: +r.david.murray
resolution:  -> not a bug
stage: patch review -> resolved
status: open -> closed

Python tracker <report at bugs.python.org>

More information about the docs mailing list