Message124328
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? |
|
Date |
User |
Action |
Args |
2010-12-19 02:38:45 | terry.reedy | set | recipients:
+ terry.reedy, r.david.murray, gry |
2010-12-19 02:38:36 | terry.reedy | set | messageid: <1292726316.54.0.604440304044.issue10730@psf.upfronthosting.co.za> |
2010-12-19 02:38:35 | terry.reedy | link | issue10730 messages |
2010-12-19 02:38:35 | terry.reedy | create | |
|