Skip to content

mailcap is deprecated in Python 3.11 and will be removed in 3.13 #1632

Description

@chayleaf

Is your feature request related to a problem? Please describe.
See Python docs - mailcap module is deprecated

Describe the solution you'd like
Writing a custom mailcap file loader that doesn't rely on the standard library is a good solution. Additionally, I think a non-standard extension of loading mailcap from alot config dir or $XDG_CONFIG_DIR/mailcap would be a good idea.

Describe alternatives you've considered

  1. Ditching mailcap files completely, opting for a mix of custom config (e.g. for html viewing) and mime associations (for opening files) and breaking backwards compatibility
  2. Telling users to stay at Python 3.12 till the end of time

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions