What to use instead of nntplib?

Grant Edwards grant.b.edwards at gmail.com
Mon May 15 22:12:38 EDT 2023


On 2023-05-15, Skip Montanaro <skip.montanaro at gmail.com> wrote:
>> I got a nice warning today from the inews utility I use daily:
>>
>>     DeprecationWarning: 'nntplib' is deprecated and slated for
>>     removal in Python 3.13
>>
>> What should I use in place of nntplib?
>
> I'd recommend creating a PyPI project with the existing 3.12 code,
> then using that from 3.13 onward.

That may be the easiest option. :/

I did some googling for utilities to post articles to NNTP servers and
found "postnews". Of course it's written in Python and depends on
nntplib...



More information about the Python-list mailing list