[Python-Dev] PEP 594: Removing dead batteries from the standard library

Antoine Pitrou solipsis at pitrou.net
Mon May 20 18:53:06 EDT 2019


On Tue, 21 May 2019 00:41:19 +0200
Simon Cross <hodgestar+pythondev at gmail.com> wrote:
> Woot. +100 on this PEP.
> 
> > If the stdlib didn't have NNTP support, obviously nobody would suggest
> > adding it nowadays.  
> 
> Perhaps this is a good reason to keep nntplib in the deprecation list?

No, because the same applies to getopt, optparse and others, which are
not in the deprecation list.

> Another question is "are there any places using nntplib where `pip install
> nntplib`" is not an reasonable option?

You could ask pretty much the same question about most stdlib packages.
Isn't "pip install ftplib" a reasonable option?  How about "pip
install email" or "pip install xmlrpc"?

The PEP is about "dead batteries".  Not "batteries that some people
think would be reasonable to install from PyPI".

Regards

Antoine.




More information about the Python-Dev mailing list