Terry J. Reedy <tjre...@udel.edu> added the comment: Separate issue: from the mimetypes doc ... "MimeTypes.types_map Dictionary mapping filename extensions to MIME types. This is initially a copy of the global types_map defined in the module."
But on Windows, I get a *tuple*, not a dict, of two dicts. The first has just a few pairs >>> mi.types_map[0] {'.xul': 'text/xul', '.pic': 'image/pict', '.pict': 'image/pict', '.jpg': 'image/jpg', '.rtf': 'application/rtf', '.pct': 'image/pict', '.mid': 'audio/midi', '.midi': 'audio/midi'} and the second about a hundred more. Is this a bug? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10730> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com