What to use instead of nntplib?

Keith Thompson Keith.S.Thompson+u at gmail.com
Mon May 22 18:26:58 EDT 2023


Grant Edwards <grant.b.edwards at gmail.com> writes:
> On 2023-05-21, Retrograde <fungus at amongus.com> wrote:
>> Who ever came up with "Removing dead batteries" as a slogan, when
>> some of those batteries still work perfectly well, needs to rethink
>> it. Go ahead and remove code that no longer works, OK.  But removing
>> unpopular modules?  That undercuts the entire philosophy of the
>> platform, in my opinion.
>
> And one of the metrics of "popularity" seems to be "activity"
> (e.g. changes committed).  For things that have been around for 20+
> years and have all the features they need and all of the bugs fixed
> (and are now very stable) that lack of "activity" is interpreted as
> "unpopular" regardless of how many people are using the module.

My understanding is that nntplib isn't being erased from reality,
it's merely being removed from the set of modules that are provided
by default.

I presume that once it's removed from the core, it will still be
possible to install it via pip or some other mechanism.

You can disable the deprecation warning:

    import warnings
    warnings.filterwarnings("ignore", category=DeprecationWarning)
    import nntplib

If my understanding is correct, why is this such a big problem?

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u at gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */


More information about the Python-list mailing list