Jacob Rus <jacobo...@gmail.com> added the comment: This version (#4) switches to expressing the default types as a list of tuples instead of as a dict, so that we can include duplicate rows so that "reverse" type -> extension lookups will behave properly, once we start changing the actual content of the defaults.
The types_map and common_types dictionaries (aliases to the singleton MimeTypes object's types_map property) have been left behaving as before for backwards compatibility. The tests still pass. ---------- Added file: http://bugs.python.org/file14632/mimetypes4.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6626> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com