Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mailcap.getcaps() from given file(s) #89304

Closed
pacien mannequin opened this issue Sep 8, 2021 · 2 comments
Closed

mailcap.getcaps() from given file(s) #89304

pacien mannequin opened this issue Sep 8, 2021 · 2 comments
Labels
topic-email type-feature A feature request or enhancement

Comments

@pacien
Copy link
Mannequin

pacien mannequin commented Sep 8, 2021

BPO 45141
Nosy @warsaw, @bitdancer, @pacien
PRs
  • bpo-45141: allow specifying files for mailcap.getcaps #28245
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2021-09-08.18:41:53.046>
    labels = ['type-feature', 'expert-email']
    title = 'mailcap.getcaps() from given file(s)'
    updated_at = <Date 2021-09-08.21:51:31.306>
    user = 'https://github.com/pacien'

    bugs.python.org fields:

    activity = <Date 2021-09-08.21:51:31.306>
    actor = 'pacien'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['email']
    creation = <Date 2021-09-08.18:41:53.046>
    creator = 'pacien'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45141
    keywords = ['patch']
    message_count = 1.0
    messages = ['401420']
    nosy_count = 3.0
    nosy_names = ['barry', 'r.david.murray', 'pacien']
    pr_nums = ['28245']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue45141'
    versions = []

    @pacien
    Copy link
    Mannequin Author

    pacien mannequin commented Sep 8, 2021

    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
    elsewhere.

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

    @pacien pacien mannequin added topic-email type-feature A feature request or enhancement labels Sep 8, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @brettcannon
    Copy link
    Member

    Closing as mailcap is slated for deprecation (#91217).

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    topic-email type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant