What to use instead of nntplib?
Mats Wichmann
mats at wichmann.us
Tue May 16 09:07:45 EDT 2023
On 5/15/23 20:12, Grant Edwards wrote:
> 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...
>
Should mention that there was a thread on this at discuss.python.org.
Which seems to have petered out without a real resolution.
https://discuss.python.org/t/allow-nntplib-on-pypi/25786
More information about the Python-list
mailing list