Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Real computer scientists like having a computer on their desk, else how could they read their mail?


devel / comp.lang.python / Re: What to use instead of nntplib?

SubjectAuthor
o Re: What to use instead of nntplib?Alan Gauld

1
Re: What to use instead of nntplib?

<mailman.81.1684234117.13552.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23245&group=comp.lang.python#23245

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: learn2pr...@gmail.com (Alan Gauld)
Newsgroups: comp.lang.python
Subject: Re: What to use instead of nntplib?
Date: Tue, 16 May 2023 11:48:33 +0100
Lines: 23
Message-ID: <mailman.81.1684234117.13552.python-list@python.org>
References: <469aa006-40d4-38c8-5776-fe0f9e908cf1@yahoo.co.uk>
<ZGNHnsxpmhFdhw/W@cskk.homeip.net>
<960340a9-2f55-9e48-4bb3-b39352387935@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de UF3SAerP+uuEA/wF/hBuIQwiVQI5lQPz04TN/xEldItw==
Return-Path: <learn2program@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=Lks9+Xex;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'pep': 0.07; ':-)': 0.09;
'subject:instead': 0.09; 'url-ip:151.101.0.223/32': 0.09; 'url-
ip:151.101.128.223/32': 0.09; 'url-ip:151.101.192.223/32': 0.09;
'url-ip:151.101.64.223/32': 0.09; 'cameron': 0.16; 'flickr': 0.16;
'from:name:alan gauld': 0.16; 'nntp': 0.16; 'photo-blog': 0.16;
'simpson': 0.16; 'url-ip:79.170.44.132/32': 0.16; 'url-
ip:79.170.44/24': 0.16; 'url-ip:79.170/16': 0.16; 'url-ip:79/8':
0.16; 'url:alan-g': 0.16; 'url:alan_gauld': 0.16;
'url:alangauldphotos': 0.16; 'url:peps': 0.16; 'wrote:': 0.16;
'problem': 0.16; 'message-id:@gmail.com': 0.18; 'url:amazon':
0.19; 'to:addr:python-list': 0.20; 'corporate': 0.29; 'header
:User-Agent:1': 0.30; 'module': 0.31; 'program': 0.31;
'received:192.168.1': 0.32; "i'm": 0.33; 'there': 0.33; 'header
:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'fix': 0.36; 'using': 0.37;
'received:209.85': 0.37; 'author': 0.37; 'received:192.168': 0.37;
'thanks': 0.38; 'received:209': 0.39; 'still': 0.40; 'alan': 0.40;
'subject:What': 0.40; 'learn': 0.40; 'both': 0.40; 'url-
ip:151.101.0/24': 0.62; 'url-ip:151.101.128/24': 0.62; 'url-
ip:151.101.192/24': 0.62; 'url-ip:151.101.64/24': 0.62; 'follow':
0.62; 'outside': 0.67; 'url-ip:18/8': 0.67; 'live': 0.68;
'url:author': 0.69; 'site': 0.70; 'longer': 0.71; 'late': 0.73;
'dozen': 0.84; 'scary': 0.84; 'glad': 0.86
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1684234115; x=1686826115;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:from:to:cc:subject:date:message-id:reply-to;
bh=gcyWMXAtXz3L9J+OtKp1FfeS+MrlgGlSczNe6r1U8oY=;
b=Lks9+XexcEcviB0aI6oOZa3HeQFyga/kr+SjxW/dnYZl6w3VvWrFSUuNHJQESgkKeD
O56CljcqmYmskQT/Pwb7cqFBpxsn9o0G+lm9ws5aolrcvI7vPnhVSMnND8d6aver62cI
NGBpHuhTZfLg2vHVWcfn5Eddw03AEiM6ZMPvPweU1/USeuesfv/idNqVmlDVT+FJwXxr
2JZMtkJBT5pRRM4VxLnNUEdezCTzpT7n1QL31ThWVIlpV5p6mxG/EYwB9hiJQwC2DPeo
r2dCaT5r2OcrVj3w4duwTOWpfAUIhFRA3DWK7H3LTdBHeZEgo+h8BUzkIvu0G7nNIv2G
lAtw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1684234115; x=1686826115;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=gcyWMXAtXz3L9J+OtKp1FfeS+MrlgGlSczNe6r1U8oY=;
b=JJWXiFue2wg6uhA4oeZjxGbornAeC83W9lHA1PTp78768zBkdss3+2C6Zg0HJSG8BV
DDhHvkqf58qsbOajVFLWk/hpKyMhHFhoO51lcKC2BjoBz56C6A34/kCXF2SlO7Qcbai/
nemJqln9aEVlzmdkHX2nXx7fM3iMlpP720uIR9IonYbqcAhTe050sH0VPpU1a5mK9hSi
lyPljZql6DCnWkK0yBZDJPjuTPEpu3gA3atgIpinwgnT1KNVn5nsJkZ/tKWDWqaiPI3J
H2Qsxyiu8bbGGRHg3OJT5fF7rUNKlDGC4gi18+amXMIF+AHB4rHPxDdstc3WesK+aAcJ
Q74Q==
X-Gm-Message-State: AC+VfDwJ4wqKGLV806SRdyMV0iNk0tksj8b0KEDqaJPpAjFhdZE+MQXb
P/aMJtDFcsSnzmUiYUM7RyU=
X-Google-Smtp-Source: ACHHUZ7KG1XuK+6hsCWvAJxMnY6aNMz2DHyYBhrO7OdXxboFvpomhNXSGRxmoPInwlR+zZJvLVhZNg==
X-Received: by 2002:adf:e38d:0:b0:2f7:1f2f:a91e with SMTP id
e13-20020adfe38d000000b002f71f2fa91emr26665642wrm.24.1684234114547;
Tue, 16 May 2023 03:48:34 -0700 (PDT)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.10.1
Content-Language: en-GB
In-Reply-To: <ZGNHnsxpmhFdhw/W@cskk.homeip.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <960340a9-2f55-9e48-4bb3-b39352387935@gmail.com>
X-Mailman-Original-References: <469aa006-40d4-38c8-5776-fe0f9e908cf1@yahoo.co.uk>
<ZGNHnsxpmhFdhw/W@cskk.homeip.net>
 by: Alan Gauld - Tue, 16 May 2023 10:48 UTC

On 16/05/2023 10:06, Cameron Simpson wrote:

>> I'm curious as to why nntplib is deprecated? Surely there are still a
>> lot of nntp servers around, both inside and outside corporate firewalls?
>> Is there a problem with the module or is it just perceived as no longer
>> required?
>
> See PEP 594: https://peps.python.org/pep-0594/

Thanks Cameron.
A scary list; I must have a dozen projects from the late 90s still
live that are using many of these! I'm glad I'm retired and won't
be the one who has to fix 'em :-)

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor