Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

19 May, 2024: Line wrapping has been changed to be more consistent with Usenet standards.
 If you find that it is broken please let me know here rocksolid.nodes.help


devel / comp.lang.python / Re: replacement for nntplib on Python3

SubjectAuthor
* replacement for nntplib on Python3Retrograde
`- replacement for nntplib on Python3Skip Montanaro

1
replacement for nntplib on Python3

<20230426203110.fb1a0de75df0296488b16381@amongus.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24068&group=comp.lang.python#24068

  copy link   Newsgroups: comp.lang.python
Path: rocksolid2!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!berry.solani.net!not-for-mail
From: fungus@amongus.com (Retrograde)
Newsgroups: comp.lang.python
Subject: replacement for nntplib on Python3
Date: Wed, 26 Apr 2023 20:31:10 -0400
Message-ID: <20230426203110.fb1a0de75df0296488b16381@amongus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: solani.org;
logging-data="32310"; mail-complaints-to="abuse@news.solani.org"
Cancel-Lock: sha1:VX9UjqEeOJzTCPAT+1O0m/sYL6s=
X-User-ID: eJwFwYEBwCAIA7CXlFLAcxDX/09YQsSOSQ+GU5RMe2Gyn27vbyGGBtYhRgeFd7LkrTK/4/oBIaQRPQ==
X-Face: ]es.}3qz9h<W$Kw"]m${f]Lj6DR}rD|.ez^cU/f5(Cr^QfK>RpRLcBD5YN&487ikC)Coo(T nZVL0I]%;Ad%[rZBpn1r5%mI._`VoY3K^FV8JRcEl[~0s8xNR.<WiyST{<h^cjtZ3/n29beGqlhp1- 4lG):bcw7lQ=X84@ho@5Uy[)U6Vy[9#/\|R2JWF%(j,iy_Nua\2y
X-Newsreader: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: Retrograde - Thu, 27 Apr 2023 00:31 UTC

I used to use a script that relied on nntplib, which is currently still
available in Python3 but scheduled for deprecation in the near future.
What would be a suitable replacement?

--
Retrograde <fungus@amongus.com.invalid>

Re: replacement for nntplib on Python3

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

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=24069&group=comp.lang.python#24069

  copy link   Newsgroups: comp.lang.python
Path: rocksolid2!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: skip.montanaro@gmail.com (Skip Montanaro)
Newsgroups: comp.lang.python
Subject: Re: replacement for nntplib on Python3
Date: Wed, 26 Apr 2023 20:56:09 -0500
Lines: 16
Message-ID: <mailman.0.1682560582.13552.python-list@python.org>
References: <20230426203110.fb1a0de75df0296488b16381@amongus.com>
<CANc-5UzGNfC+AQD5iTkW7vUURPQqWh2sGYGh59S3sOfk21ZfHg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de P3mIAU377WSae6fgRT6GHgboKCs2CntY5/l+ZT3Aok1Q==
Return-Path: <skip.montanaro@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=XCqP/uiI;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.006
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '26,': 0.07; 'cc:addr
:python-list': 0.09; 'deprecation': 0.09; 'git': 0.09; 'pypi,':
0.09; 'repo': 0.09; 'url:mailman': 0.15; 'cc:name:python': 0.16;
'python3': 0.16; 'subject:Python3': 0.16; 'subject:replacement':
0.16; 'wrote:': 0.16; 'python': 0.16; 'cc:addr:python.org': 0.20;
'version': 0.23; 'url-ip:188.166.95.178/32': 0.25; 'url-
ip:188.166.95/24': 0.25; 'url:listinfo': 0.25; 'cc:2**0': 0.25;
'url-ip:188.166/16': 0.25; 'url-ip:188/8': 0.31; 'suitable': 0.32;
'message-id:@mail.gmail.com': 0.32; 'but': 0.32; 'subject:for':
0.33; 'script': 0.33; 'package': 0.34; 'header:In-Reply-To:1':
0.34; 'received:google.com': 0.34; 'running': 0.34;
'from:addr:gmail.com': 0.35; 'currently': 0.37; 'received:209.85':
0.37; 'could': 0.38; 'received:209': 0.39; 'received:209.85.208':
0.39; 'use': 0.39; 'scheduled': 0.39; 'wed,': 0.39; 'still': 0.40;
'near': 0.76; 'lacks': 0.84; 'relied': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1682560579; x=1685152579;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=md1U2W0YXrwW+8/uFq7b1qdakM48REvVpe4PxD4iob4=;
b=XCqP/uiIB5wzFm8q8UQ9Bi12Wk08xzTbTExiWaejop0GTqeMrhM8C6oXY/V5TuzJ2c
DESU3O46JjJbSqmwMw9eMmFtJ2UO9czYv0NWRXZcyvnydkhq473s/q7vxiuZdgkXcv8Q
CoAzvbGUzU6QLMQ8/wjANzbmfwrCWyUakoDIjKltebw1UvyDj9otjllmHT3Fvo91GHsP
5Irlhn2PYLw9MO+kqH5xQRqVQYJntdTfLKs7EUnEcDEO6OmcKsZfsydqRwj+jdKp0m+x
+9KSIg8Xixrr82vP0XEIlP5g2Kougyeg+swQVHJ+47iz+JrO+H2wJahm99bKEuj8ZP04
wOgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1682560579; x=1685152579;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=md1U2W0YXrwW+8/uFq7b1qdakM48REvVpe4PxD4iob4=;
b=VhQEAMsFFWXPpGlZJBvL8iLZ9wXg11RNrbi6jBbBQSeg9FNfduoPCGsZUW+rLd5y6N
k5MZb/Tpx3WzvnMk1s3Mjb567LatqGZBuGE+0YG9ysDSEhZ9c9L7TJCDH09UnqnCmsG2
vhKkE3zwCRrkeq3ad/O7fw7UF8OXV8s6he+bUjBNCmTPyrvynz32W5+NPRyfZZaDnihk
9qJzhCWKKpuiXG5xBexKKNpTxWHkHmOs2EOpXTP5tyv7BGLZxE5Vbu7ZhFgKDwwR6zbU
NGTUhHRlkAElt2zkPzDtgvj2mPc6X1W5FujPK/yaRUcf0O41PGAylO5JbKWVo2J6ybyt
kfBw==
X-Gm-Message-State: AC+VfDyTwo8Rx3KxFNjvKtTcI4D6d4udUcCe8bCgnzsrPLjo9z2Mp2Tk
l1Hna3CUMh0PzkWxSXl75FRR8XLpATwJOq7wTTJ8JOS8+VLG
X-Google-Smtp-Source: ACHHUZ6GD/AfDbPb6/HhPw0BJrMvgFeIEM8Jbdpxaiu5FG2j/SUODTJz/2eeq2pu7UkLaiY4sCSPqBqnfBw0f2sxU10=
X-Received: by 2002:a2e:8250:0:b0:2ab:2ba0:794 with SMTP id
j16-20020a2e8250000000b002ab2ba00794mr73367ljh.43.1682560579044; Wed, 26 Apr
2023 18:56:19 -0700 (PDT)
In-Reply-To: <20230426203110.fb1a0de75df0296488b16381@amongus.com>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <CANc-5UzGNfC+AQD5iTkW7vUURPQqWh2sGYGh59S3sOfk21ZfHg@mail.gmail.com>
X-Mailman-Original-References: <20230426203110.fb1a0de75df0296488b16381@amongus.com>
 by: Skip Montanaro - Thu, 27 Apr 2023 01:56 UTC

You could create a git repo with just nntplib and generate a package on
PyPI, then use that when running a version of Python which lacks nntplib.

Skip

On Wed, Apr 26, 2023, 8:42 PM Retrograde <fungus@amongus.com> wrote:

> I used to use a script that relied on nntplib, which is currently still
> available in Python3 but scheduled for deprecation in the near future.
> What would be a suitable replacement?
>
> --
> Retrograde <fungus@amongus.com.invalid>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


devel / comp.lang.python / Re: replacement for nntplib on Python3

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor