[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-26 Thread Damian Shaw
I didn't spot anyone else report this to mitmproxy so I raised an issue to make them aware: https://github.com/mitmproxy/mitmproxy/issues/5297 On Tue, Apr 26, 2022 at 3:30 AM Victor Stinner wrote: > On Tue, Apr 26, 2022 at 5:47 AM Brett Cannon wrote: > > After talking about this in the SC today

[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-26 Thread Victor Stinner
On Tue, Apr 26, 2022 at 5:47 AM Brett Cannon wrote: > After talking about this in the SC today, we agreed to deprecate mailcap > under the auspices of PEP 594: > https://github.com/python/peps/commit/701999a91dc5f976c00d5bde1510226ebd9c7822 > . Good. I proposed https://github.com/python/cpytho

[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-25 Thread Brett Cannon
After talking about this in the SC today, we agreed to deprecate mailcap under the auspices of PEP 594: https://github.com/python/peps/commit/701999a91dc5f976c00d5bde1510226ebd9c7822 . On Thu, Apr 14, 2022 at 11:44 AM Brett Cannon wrote: > A CVE has been opened against mailcap (see > https://git

[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-14 Thread Guido van Rossum
Whoops, you’re right. I suppose I should have no opinion on whether to deprecate it; I haven’t thought about it for over two decades… On Thu, Apr 14, 2022 at 16:33 Jelle Zijlstra wrote: > > > El jue, 14 abr 2022 a las 12:21, Damian Shaw () > escribió: > >> > I searched grep.app and found no sign

[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-14 Thread Jelle Zijlstra
El jue, 14 abr 2022 a las 12:21, Damian Shaw () escribió: > > I searched grep.app and found no significant usage. > > Maybe someone wants to inform mitmproxy? > > It's a very popular tool and it comes up using that tool when searching > for "import mailcap" using grep.app: > https://grep.app/searc

[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-14 Thread Gregory P. Smith
+1 add it to the 3.11 deprecations and proactively reach out to the mitmproxy owners. (internal code search: aside from mitmproxy I only see a _single_ use of this in our codebase and it was simply convenient but has a clear simpler alternative assuming that ~2008 era code is even still in use) -

[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-14 Thread Guido van Rossum
On Thu, Apr 14, 2022 at 12:04 Jelle Zijlstra wrote: > > > El jue, 14 abr 2022 a las 11:47, Brett Cannon () > escribió: > >> Do you know why this module wasn't included in PEP 594? > Probably because it’s not a top level module — it’s inside the email package. Should we do another audit of old m

[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-14 Thread Damian Shaw
> I searched grep.app and found no significant usage. Maybe someone wants to inform mitmproxy? It's a very popular tool and it comes up using that tool when searching for "import mailcap" using grep.app: https://grep.app/search?q=import%20mailcap https://github.com/mitmproxy/mitmproxy/blob/main/m

[Python-Dev] Re: Proposal to deprecate mailcap

2022-04-14 Thread Jelle Zijlstra
El jue, 14 abr 2022 a las 11:47, Brett Cannon () escribió: > A CVE has been opened against mailcap (see > https://github.com/python/cpython/issues/68966 for details). I'm not > aware of anyone trying to maintain the module and Victor did a search > online and didn't find any use of the module in t