Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

You had mail, but the super-user read it, and deleted it!


computers / comp.misc / Re: Python's dead batteries

SubjectAuthor
* Python's dead batteriesRetrograde
`* Re: Python's dead batteriesTheo
 +* Re: Python's dead batteriesRichard Kettlewell
 |`- Re: Python's dead batteriesRetrograde
 `- Re: Python's dead batteriesStefan Ram

1
Python's dead batteries

<gzMjN.24822$N2w8.9082@fx07.ams1>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3208&group=comp.misc#3208

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!fx07.ams1.POSTED!not-for-mail
From: fungus@amongus.com.invalid (Retrograde)
Content-Type: text/plain; charset=UTF-8
Subject: Python's dead batteries
Newsgroups: comp.misc
Lines: 46
Message-ID: <gzMjN.24822$N2w8.9082@fx07.ams1>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Sat, 30 Dec 2023 03:58:04 UTC
Organization: blocknews - www.blocknews.net
Date: Sat, 30 Dec 2023 03:58:04 GMT
X-Received-Bytes: 2747
 by: Retrograde - Sat, 30 Dec 2023 03:58 UTC

From the «boo, posted this using perl» department:
Feed: SoylentNews
Title: What You Need To Know About Python's 'Dead Batteries'
Author: hubie
Date: Thu, 28 Dec 2023 10:01:00 -0500
Link: https://soylentnews.org/article.pl?sid=23/12/27/1534255&from=rss

Arthur T Knackerbracket has processed the following story[1]:

Python's been around in one form or another for over 30 years. Over that time,
it has accumulated a wide and powerful set of modules in its standard library.
These modules help developers get started with many common tasks. Fans of
Python[2] call this the "batteries included" part of the language.

But over the years, some of those batteries have died—meaning they've gone out
of maintenance, or been used for technologies that are now obsolete. Some of
these "dead batteries" were deprecated in Python 3.12[3], and will be removed
entirely in Python 3.13.

So, here's a rundown—in roughly descending order of importance—of the standard
library modules being removed in Python 3.13, including what each one does and
what new module (if any) has replaced it.

Here are the most important deprecated standard library modules. These are the
ones you are most likely still using in existing applications.

Listed as the most important modules being deprecated are cgi, cgitb, smtpd,
telnetlib, nntplib, msilib, and pipes. Other deprecated modules listed in the
article are: asynchat/asyncore, imghdr/sndhdr, uu, mailcap, crypt, nis, spwd,
xdrlib, chunk, sunau, and ossaudiodev. Click through to the fine article if you
want to see a brief description of each module and a suggested possible
replacement for it.

------------------------------------------------------------------------------

Original Submission[4]

Read more of this story[5] at SoylentNews.

Links:
[1]: https://www.infoworld.com/article/3711521/what-you-need-to-know-about-pythons-dead-batteries.html#tk.rss_all (link)
[2]: https://www.infoworld.com/article/3204016/what-is-python-powerful-intuitive-programming.html (link)
[3]: https://www.infoworld.com/article/3653636/python-removes-dead-batteries-from-standard-library.html (link)
[4]: https://soylentnews.org/submit.pl?op=viewsubsubid=61730 (link)
[5]: https://soylentnews.org/article.pl?sid=23/12/27/1534255&from=rss (link)

Re: Python's dead batteries

<eVh*agazz@news.chiark.greenend.org.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3209&group=comp.misc#3209

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: comp.misc
Subject: Re: Python's dead batteries
Date: 30 Dec 2023 11:58:56 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <eVh*agazz@news.chiark.greenend.org.uk>
References: <gzMjN.24822$N2w8.9082@fx07.ams1>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="14631"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Sat, 30 Dec 2023 11:58 UTC

Retrograde <fungus@amongus.com.invalid> wrote:
> Listed as the most important modules being deprecated are cgi, cgitb, smtpd,
> telnetlib, nntplib, msilib, and pipes. Other deprecated modules listed in the
> article are: asynchat/asyncore, imghdr/sndhdr, uu, mailcap, crypt, nis, spwd,
> xdrlib, chunk, sunau, and ossaudiodev. Click through to the fine article if you
> want to see a brief description of each module and a suggested possible
> replacement for it.

I wonder what Usenet tools losing nntplib will break?

Re: Python's dead batteries

<wwv8r5bkhgc.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3210&group=comp.misc#3210

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.misc
Subject: Re: Python's dead batteries
Date: Sat, 30 Dec 2023 12:22:59 +0000
Organization: terraraq NNTP server
Message-ID: <wwv8r5bkhgc.fsf@LkoBDZeT.terraraq.uk>
References: <gzMjN.24822$N2w8.9082@fx07.ams1>
<eVh*agazz@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="2484"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:khy4n9Yxski/ZmvQAJmKYaSN+WE=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Sat, 30 Dec 2023 12:22 UTC

Theo <theom+news@chiark.greenend.org.uk> writes:
> Retrograde <fungus@amongus.com.invalid> wrote:
>> Listed as the most important modules being deprecated are cgi, cgitb, smtpd,
>> telnetlib, nntplib, msilib, and pipes. Other deprecated modules listed in the
>> article are: asynchat/asyncore, imghdr/sndhdr, uu, mailcap, crypt, nis, spwd,
>> xdrlib, chunk, sunau, and ossaudiodev. Click through to the fine
>> article if you
>> want to see a brief description of each module and a suggested possible
>> replacement for it.
>
> I wonder what Usenet tools losing nntplib will break?

They can install it as a separate package, if they need it:
https://pypi.org/project/nntplib/

--
https://www.greenend.org.uk/rjk/

Re: Python's dead batteries

<nntp-20231230153717@ram.dialup.fu-berlin.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3211&group=comp.misc#3211

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.misc
Subject: Re: Python's dead batteries
Date: 30 Dec 2023 14:37:43 GMT
Organization: Stefan Ram
Lines: 12
Expires: 1 Dec 2024 11:59:58 GMT
Message-ID: <nntp-20231230153717@ram.dialup.fu-berlin.de>
References: <gzMjN.24822$N2w8.9082@fx07.ams1> <eVh*agazz@news.chiark.greenend.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de GtwgxuW3oIvxNpNWV1WioA4rOuwxi/AbzQ31roXLr1bs9S
Cancel-Lock: sha1:nSe8GR45lgEoLs/gZVoT/ecNny8= sha256:p2SEw+P9deOcJZrv8mLNE2+AY0OBM5rtfP244wUo4uU=
X-Copyright: (C) Copyright 2023 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Accept-Language: de-DE-1901, en-US, it, fr-FR
 by: Stefan Ram - Sat, 30 Dec 2023 14:37 UTC

Theo <theom+news@chiark.greenend.org.uk> writes:
>I wonder what Usenet tools losing nntplib will break?

Usenet tools can still use older Python versions with nntplib or
fork from a version of nntplib. Maybe someone will continue to
maintain nntplib outside of the standard library.

I write code to access Usenet from Python for my own uses and have
never used nntplib, I access sockets directly. But, admittedly, my
code is not general or robust, but it works for the purpose intended.

Re: Python's dead batteries

<20231230182040.f326123450b5565c7ffd9459@amongus.com.invalid>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3221&group=comp.misc#3221

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!fx09.ams1.POSTED!not-for-mail
From: fungus@amongus.com.invalid (Retrograde)
Newsgroups: comp.misc
Subject: Re: Python's dead batteries
Message-Id: <20231230182040.f326123450b5565c7ffd9459@amongus.com.invalid>
References: <gzMjN.24822$N2w8.9082@fx07.ams1>
<eVh*agazz@news.chiark.greenend.org.uk>
<wwv8r5bkhgc.fsf@LkoBDZeT.terraraq.uk>
X-Newsreader: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
X-Face: ]es.}3qz9h<W$Kw"]m${f]Lj6DR}rD|.ez^cU/f5(Cr^QfK>RpRLcBD5YN&487ikC)Coo(TnZVL0I]%;Ad%[rZBpn1r5%mI._`VoY3K^FV8JRcEl[~0s8xNR.<WiyST{<h^cjtZ3/n29beGqlhp1-4lG):bcw7lQ=X84@ho@5Uy[)U6Vy[9#/\|R2JWF%(j,iy_Nua\2y
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Lines: 10
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Sat, 30 Dec 2023 23:20:41 UTC
Organization: blocknews - www.blocknews.net
Date: Sat, 30 Dec 2023 18:20:40 -0500
X-Received-Bytes: 1334
 by: Retrograde - Sat, 30 Dec 2023 23:20 UTC

On Sat, 30 Dec 2023 12:22:59 +0000
Richard Kettlewell <invalid@invalid.invalid> wrote:

> > I wonder what Usenet tools losing nntplib will break?
>
> They can install it as a separate package, if they need it:
> https://pypi.org/project/nntplib/

I've had to use an older distro still packaging python 2.7 to keep some
of my personal scripts running. Not an ideal solution, but it has worked.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor