Message124328
| Author |
terry.reedy |
| Recipients |
gry, r.david.murray, terry.reedy |
| Date |
2010年12月19日.02:38:35 |
| SpamBayes Score |
0.0044379844 |
| Marked as misclassified |
No |
| Message-id |
<1292726316.54.0.604440304044.issue10730@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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? |
|
History
|
|---|
| 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 |
|