πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87455

Re: PyClean installation

#87455
From: Kevin Bowling
Date: Tue, 31 May 2016 02:25
43 lines
2858 bytes
On 05/29/16 03:01 AM, Steve Crook wrote:
> On Sat, 28 May 2016 18:20:27 +0200, Julien Γ‰LIE wrote in
> Message-Id: <nicggb$hq4$1@news.trigofacile.com>:
> 
>> Hi Steve,
>>
>> PyClean has been working perfectly for a few months, so that's pretty 
>> good news.
> Excellent, I'm pleased to hear it's working for you.
> 
>>> Next I installed Python2.4 and tried to test against it.  There are a
>>> number of libraries that didn't exist back then
>>
>> Also, datetime.strptime was added in Python 2.5; only time.strptime 
>> exists in Python 2.4.
>> Strange that none of us remarked it when we tested that at the beginning 
>> of the year.  I bet we did not totally restart INN.  I only noticed that 
>> yesterday when updating INN.
> 
> Thanks, I've applied that now.
> 
> Is there a reason why we maintain Python 2.4 compatibility rather than
> any other specific version?  v2.4 was released in 2004 so it seems
> unlikely to still be packaged in any stable Linux releases.

As usual RedHat's fault for their zombie distros.  Python 2.4 is the
default '/usr/bin/env python' although you can install python 2.6
officially to '/usr/bin/env python26'.

> On a vaguely related topic, I'm seeing little enthusiasm for migrating
> projects to Python 3.x.  It was announced in 2014 that v2.7 was the last
> of the 2.x series.  Perhaps projects are re-platforming instead of
> upgrading?

Mostly Python 2.7 is "good enough" for a lot of users.  Python 3 is
seeing an uptick, but there has been a chicken and egg problem with some
common libraries that first had to be cleared up.  PyClean should work
well enough on both versions with one of the mechanical translators.

Regards,
Kevin

Technical Details
Message-ID: <niismi$2uq5$1@csiph.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <n4km8u$1ra$1@news.trigofacile.com> <slrnn95jel.lfk.steve@fleegle.mixmin.net> <nicggb$hq4$1@news.trigofacile.com> <slrnnklfg8.n98.steve@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <niismi$2uq5$1@csiph.com>
Subject: Re: PyClean installation
Date: Mon, 30 May 2016 19:25:22 -0700
From: Kevin Bowling <kevin.bowling@kev009.com>
References: <n4km8u$1ra$1@news.trigofacile.com> <slrnn95jel.lfk.steve@fleegle.mixmin.net> <nicggb$hq4$1@news.trigofacile.com> <slrnnklfg8.n98.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: csiph.com Internet News Service
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 31 May 2016 02:25:22 +0000 (UTC)
Injection-Info: csiph.com; posting-host="tempe0.bbox.io:24.249.180.233";
 logging-data="97093"; mail-complaints-to="admin@kev009.com"
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.0
In-Reply-To: <slrnnklfg8.n98.steve@fleegle.mixmin.net>
X-Received-Body-CRC: 3832045143
X-Received-Bytes: 2785