[New-bugs-announce] [issue45141] mailcap.getcaps() from given file(s)

pacien report at bugs.python.org
Wed Sep 8 14:41:53 EDT 2021

New submission from pacien <vpmfty.pythonbugs at pacien.net>:

Currently, `mailcap.getcaps()` can only be used to load mailcap dictionaries
from files located at some specific hard-coded paths.

It is however also desirable to use the mailcap parser to load files located

An optional parameter could be added to this function to explicitly specify
the mailcap file(s) to read.

components: email
messages: 401420
nosy: barry, pacien, r.david.murray
priority: normal
severity: normal
status: open
title: mailcap.getcaps() from given file(s)
type: enhancement

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list