• "mailcap" to be removed (3.13) -- suggested replacement ?

    From Karsten Hilbert@21:1/5 to All on Wed Oct 26 20:55:19 2022
    Dear list,

    Python 3.11 marks "mailcap" for removal in 3.13. The
    documentation speaks about "mimetypes" being a replacement,
    of sorts. I agree with removing dead batteries.

    However, I can't really see how "mimetypes" helps in
    replacing the functionality of "mailcap" ?

    Put another way: what is the suggested way of replacing that
    module in existing code ? The use case is "find the viewer
    for any kind of file (by mimetype), as long as the system
    knows".

    Thanks,
    Karsten
    --
    GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)