Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

According to the latest official figures, 43% of all statistics are totally worthless.


devel / comp.lang.python / Re: evaluation question

SubjectAuthor
* evaluation questionMuttley
+* Re: evaluation questionBen Bacarisse
|+- Re: evaluation questionMuttley
|`* Usenet vs. Mailing-list (was: evaluation question)Peter J. Holzer
| +* Re: Usenet vs. Mailing-list (was: evaluation question)Jon Ribbens
| |`* Re: Usenet vs. Mailing-listChris Green
| | +* Re: Usenet vs. Mailing-listChris Green
| | |`- Re: Usenet vs. Mailing-listChris Angelico
| | +* Re: Usenet vs. Mailing-listDennis Lee Bieber
| | |+- Re: Usenet vs. Mailing-listGrant Edwards
| | |+- Re: Usenet vs. Mailing-listAnssi Saari
| | |`- Re: Usenet vs. Mailing-listGrant Edwards
| | `- Re: Usenet vs. Mailing-listGrant Edwards
| +* Re: Usenet vs. Mailing-list (was: evaluation question)Dennis Lee Bieber
| |+- Re: Usenet vs. Mailing-list (was: evaluation question)Alan Gauld
| |`- Re: Usenet vs. Mailing-list (was: evaluation question)Grant Edwards
| `* Re: Usenet vs. Mailing-listBen Bacarisse
|  `* Re: Usenet vs. Mailing-listJon Ribbens
|   +* Re: Usenet vs. Mailing-listBen Bacarisse
|   |`* Re: Usenet vs. Mailing-listIgor Berger
|   | `- Re: Usenet vs. Mailing-listBen Bacarisse
|   `* Re: Usenet vs. Mailing-listPeter J. Holzer
|    `- Re: Usenet vs. Mailing-listJon Ribbens
+- Re: evaluation questionChris Angelico
+* Re: evaluation questiondn
|`* Re: evaluation questionMuttley
| `- Re: evaluation questionMark Bourne
`* Re: evaluation questionLouis Krupp
 `* Re: evaluation questionelvis-85792
  `* Re: evaluation questionThomas Passin
   `* Re: evaluation questionMuttley
    +- Re: evaluation questionRob Cliffe
    +* Re: evaluation questionGreg Ewing
    |+* Re: evaluation questionMuttley
    ||+* Re: evaluation questionThomas Passin
    |||`* Re: evaluation questionStefan Ram
    ||| +- Re: evaluation questionGreg Ewing
    ||| +- Re: evaluation questionChris Angelico
    ||| +* Re: evaluation questionThomas Passin
    ||| |`- Re: evaluation questionStefan Ram
    ||| `- Re: evaluation questionGrant Edwards
    ||+- RE: evaluation question<avi.e.gross
    ||+- Re: evaluation questionWeatherby,Gerard
    ||`* Re: evaluation questionGreg Ewing
    || +* Re: evaluation questiondn
    || |+- Re: evaluation questionGreg Ewing
    || |`* Re: evaluation questionMuttley
    || | +* Re: evaluation questionPeter J. Holzer
    || | |`* Re: evaluation questionMuttley
    || | | +* Re: evaluation questionrbowman
    || | | |`* Re: evaluation questionMuttley
    || | | | +- Re: evaluation questionGreg Ewing
    || | | | `- Re: evaluation questionrbowman
    || | | `- Re: evaluation questionMark Bourne
    || | +- Re: evaluation questionGrant Edwards
    || | +* Re: evaluation questionChris Angelico
    || | |`- Re: evaluation questionMuttley
    || | +* Re: evaluation questionChris Angelico
    || | |`- Re: evaluation questionMuttley
    || | `- Re: evaluation questionRob Cliffe
    || +* Re: evaluation questionMuttley
    || |+* Re: evaluation questionGrant Edwards
    || ||`- Re: evaluation questionMuttley
    || |+- Re: evaluation questionChris Angelico
    || |+- Re: evaluation questionRichard Damon
    || |`- Re: evaluation questionRichard Damon
    || +- Re: evaluation questionChris Angelico
    || `- Re: evaluation questionRob Cliffe
    |+* Re: evaluation questionMark Bourne
    ||`* Re: evaluation questionMuttley
    || `* Re: evaluation questionrbowman
    ||  `* Re: evaluation questionStefan Ram
    ||   `- Re: evaluation questionrbowman
    |`- RE: evaluation questionRobbie mezazem
    +- Re: evaluation questionPython
    +- Re: evaluation questionChris Angelico
    +- Re: evaluation questionPython
    +* Re: evaluation questionThomas Passin
    |`- Re: evaluation questionStefan Ram
    +- Re: evaluation questionChris Angelico
    +- RE: evaluation question<avi.e.gross
    +- Re: evaluation questionPython
    +- Re: evaluation questionWeatherby,Gerard
    `- RE: evaluation question<avi.e.gross

Pages:1234
Re: evaluation question

<k3vhs0Fq2i8U8@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bow...@montana.com (rbowman)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: 1 Feb 2023 16:21:20 GMT
Lines: 10
Message-ID: <k3vhs0Fq2i8U8@mid.individual.net>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<trbvi6$3vgh9$1@dont-email.me> <trd9g8$92t2$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net pOK5V4rB5V0QI+XJmSf3Jw5VGKNEcn09X3526hULH//RcCH9r/
Cancel-Lock: sha1:W2vVc6WDgiP7K3Jmi/osCwy/pq8=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Wed, 1 Feb 2023 16:21 UTC

On Wed, 1 Feb 2023 08:56:40 -0000 (UTC), Muttley wrote:

> Why couldn't they just keep "print" and call the function , oh I dunno,
> "printf" ?

<Venting> Why does every language have to invent their own function to
print to the console that is very similar but not the same as the rest of
the herd?</Venting>

Re: evaluation question

<languages-20230201183040@ram.dialup.fu-berlin.de>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram...@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: 1 Feb 2023 17:31:02 GMT
Organization: Stefan Ram
Lines: 8
Expires: 1 Jan 2024 11:59:58 GMT
Message-ID: <languages-20230201183040@ram.dialup.fu-berlin.de>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad> <slrnttdoeq.s20.elvis-85792@notatla.org.uk> <bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net> <mailman.1717.1675054683.20444.python-list@python.org> <tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net> <trbvi6$3vgh9$1@dont-email.me> <trd9g8$92t2$1@dont-email.me> <k3vhs0Fq2i8U8@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de WU71KQt6cR/HGZDFZDqtkATqPmFpYqHxh9Z0RIDbH+apOB
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, en-US, it, fr-FR
 by: Stefan Ram - Wed, 1 Feb 2023 17:31 UTC

rbowman <bowman@montana.com> writes:
><Venting> Why does every language have to invent their own function to
>print to the console that is very similar but not the same as the rest of
>the herd?</Venting>

Why do there have to be different languages at all?

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: hjp-pyt...@hjp.at (Peter J. Holzer)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Wed, 1 Feb 2023 18:28:04 +0100
Lines: 40
Message-ID: <mailman.1741.1675273066.20444.python-list@python.org>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<20230201172804.whx4lqlngs4qnkic@hjp.at>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="b2nljkb3mdefsdhx"
X-Trace: news.uni-berlin.de dk+S71AshKseN7k7Z8HNUQTJghcSbuWWQoHTww0rlRfA==
Return-Path: <hjp-python@hjp.at>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'content-
type:multipart/signed': 0.05; ':-)': 0.09; 'content-
type:application/pgp-signature': 0.09; 'filename:fname piece:asc':
0.09; 'filename:fname piece:signature': 0.09;
'filename:fname:signature.asc': 0.09; '"creative': 0.16; '__/':
0.16; 'challenge!"': 0.16; 'from:addr:hjp-python': 0.16;
'from:addr:hjp.at': 0.16; 'from:name:peter j. holzer': 0.16;
'hjp@hjp.at': 0.16; 'holzer': 0.16; 'reality.': 0.16; 'stross,':
0.16; 'url-ip:212.17.106.137/32': 0.16; 'url-ip:212.17.106/24':
0.16; 'url-ip:212.17/16': 0.16; 'url:hjp': 0.16; '|_|_)': 0.16;
'wrote:': 0.16; 'subject:question': 0.17; 'to:addr:python-list':
0.20; 'old': 0.27; 'sense': 0.28; 'header:In-Reply-To:1': 0.34;
'tell': 0.60; 'received:212': 0.62; 'received:userid': 0.66; 'url-
ip:212/8': 0.69; 'received:at': 0.84; 'retains': 0.84;
'revolution.': 0.84
Mail-Followup-To: python-list@python.org
Content-Disposition: inline
In-Reply-To: <trd9nn$94gv$1@dont-email.me>
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: <20230201172804.whx4lqlngs4qnkic@hjp.at>
X-Mailman-Original-References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
 by: Peter J. Holzer - Wed, 1 Feb 2023 17:28 UTC
Attachments: signature.asc (application/pgp-signature)

On 2023-02-01 09:00:39 -0000, Muttley@dastardlyhq.com wrote:
> Its not evolution, its revolution. Evolution retains old functionality.

Tell a penguin that it can fly :-)

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

Attachments: signature.asc (application/pgp-signature)
Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b....@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Wed, 01 Feb 2023 09:46:29 -0800 (PST)
Lines: 27
Message-ID: <mailman.1742.1675273607.20444.python-list@python.org>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<trd9l4$93l4$1@dont-email.me>
<63daa575.050a0220.761e6.3eb5@mx.google.com>
X-Trace: news.uni-berlin.de k3xmHUUcs8yGKHQIA7m20QwJJfa+Z3kncTiwhT+/qZsA==
Return-Path: <grant.b.edwards@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=Eug/faXB;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.033
X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'string': 0.07; '2.7':
0.09; 'byte': 0.09; 'fork': 0.09; 'hard.': 0.09;
'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards':
0.16; "isn't.": 0.16; 'similar.': 0.16; 'skip:> 10': 0.16;
'sounds': 0.16; 'unicode': 0.16; 'wrote:': 0.16; 'python': 0.16;
'subject:question': 0.17; 'libraries': 0.19; 'to:addr:python-
list': 0.20; 'language': 0.21; 'library': 0.26; 'hey': 0.27;
'bit': 0.27; 'header:User-Agent:1': 0.30; "doesn't": 0.32; 'but':
0.32; 'there': 0.33; 'received:google.com': 0.34;
'received:209.85.166': 0.35; 'from:addr:gmail.com': 0.35;
'functions': 0.36; 'really': 0.37; 'received:209.85': 0.37;
'received:209': 0.39; 'feel': 0.63; 'mainly': 0.64; 'your': 0.64;
'opportunity': 0.66; 'decided': 0.67; 'entire': 0.67; 'that,':
0.67; 'free': 0.72; 'deal': 0.73; 'extra': 0.84; 'backwards':
0.84; 'strings': 0.84; 'mistakes': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:user-agent:references:subject:from:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=I4SEHBbPgETfJya4EGOkewKBajIGYEFXgMeipTluNKg=;
b=Eug/faXBjFP5ALUYfJUWQG1LRHzu3OMI10TyZDtFJm2Y0lp6UqoEQaD+kWN4EWScTR
zkbaXl54xgWLAgFIwACH46dw8kQ53fauaqiTAY1Ye6PXafqUGyP7zqme0SWha50fnmRM
yTbJhoyMn7k22JbklBVwWDeOSc0sJlPn7wXzRdaw8U8rqfuD9tZrYlCzaR4E7GlmnRpS
EnmZ6H9o3/lsBwk5truCSFwt2MDe/kFEo6yBgRykfASJ+P3aEa6zkjCfVn/DY4wPQ/md
UzmRO9b9ULOmMclFrJlaBefd05iOsBO+Gnhqo3cDNdN/IuTy6wyDvV3MB8Dvs0M7BwJb
Tomw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:user-agent:references:subject:from:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=I4SEHBbPgETfJya4EGOkewKBajIGYEFXgMeipTluNKg=;
b=M1LWu8XzaewNW1gbWhbFV6o8wkfYons5BXz/VosKmaOpk7Wfd1yI2VW1C8rB7xu2i1
iPCJTg/jfEyOfJ9dWEhrxqLhu6ltS+aHXMqRBNg607nsl7YmHqfqn3NlIrdklpBG914t
vilrE1LFSBMnk+3fDrNpJp3WMfRAIj5txtBFlchfgPWE7dmJCh0V5YsmwmsvIWLjpGtt
iEr13dV065sQvIM5zE3a/oHui5oxCLpVwCkwOETzzZRpzn6XfqCRpDzbuLS1Z8mFdZGL
T0pR3rKP6MbZErMeL5ZHOFOWcRkYIOHKuEeKQfBrmGLLMpJNEOfZHem0Zxs+X+diIx4q
BgqA==
X-Gm-Message-State: AO0yUKUplprIdlCDkWpw8fcPlGF1JPzrMf6wBcaixEPIr/6JdhTIC7pv
0RZdXeWkulMb9lHnFE3ZFH3ify08bUY=
X-Google-Smtp-Source: AK7set9wSFaG9KSTqSfLZr7M9oE/D3/7K7qTVwGRJ1j9k3IyY0PLuSXQQm0RAUMZny3YffTRO8fHbA==
X-Received: by 2002:a05:6e02:1b81:b0:30f:36c4:8c6b with SMTP id
h1-20020a056e021b8100b0030f36c48c6bmr2407994ili.6.1675273590087;
Wed, 01 Feb 2023 09:46:30 -0800 (PST)
User-Agent: slrn/1.0.3 (Linux)
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: <63daa575.050a0220.761e6.3eb5@mx.google.com>
X-Mailman-Original-References: <tr0uki$1p2c5$1@dont-email.me>
<Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<trd9l4$93l4$1@dont-email.me>
 by: Grant Edwards - Wed, 1 Feb 2023 17:46 UTC

On 2023-02-01, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:
>
>>No, but it was decided that Python 3 would have to be backwards
>>incompatible, mainly to sort out the Unicode mess. Given that,
>>the opportunity was taken to clean up some other mistakes as well.
>
> Unicode is just a string of bytes.

No it isn't. Certain _encodings_ of Unicode are strings of bytes
(UTF-8, for example).

> C supports it with a few extra library functions to get unicode
> length vs byte length and similar. Its really not that
> hard.

It is, actually.

C (the language) doesn't support Unicode at all. There are, however,
libraries that can be used to deal with it.

> Rewriting an entire language just to support that sounds a bit
> absurd to me but hey ho...

Feel free to maintain your own fork of 2.7 :)

The 2.7->3 incompatibility that created the most work for me was
bytes.

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b....@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Wed, 01 Feb 2023 09:47:12 -0800 (PST)
Lines: 9
Message-ID: <mailman.1743.1675273636.20444.python-list@python.org>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<63daa5a0.020a0220.95e5.b705@mx.google.com>
X-Trace: news.uni-berlin.de YN++birUCZGjWKCflSAxMAe5XUuXWbZ8N3iUIlW5kVSA==
Return-Path: <grant.b.edwards@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=L7bUP3l+;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.070
X-Spam-Evidence: '*H*': 0.87; '*S*': 0.01; ':-)': 0.09;
'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards':
0.16; 'holzer': 0.16; 'wrote:': 0.16; 'subject:question': 0.17;
'to:addr:python-list': 0.20; 'old': 0.27; 'header:User-Agent:1':
0.30; 'received:google.com': 0.34; 'received:209.85.166': 0.35;
'from:addr:gmail.com': 0.35; 'received:209.85': 0.37;
'received:209': 0.39; 'tell': 0.60; 'retains': 0.84;
'revolution.': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:user-agent:references:subject:from:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=2tSHi8RpkWdB7WjV36hqXL2h3Y31b2k5KrTSND33ty8=;
b=L7bUP3l+rH7XM50qF062KOsi8IiVwEm/U2WZXFRQqKrbiZhdfIRC6/6e2RBHipsSLQ
TUNHIFjyAhRKDPhx5+jWKat8X2pOeQ6r8wsORhYIQqPFXCs9L9qljIeSkBT7zuyYiVJv
tula3BsOXnrbApL7khUjhB7DqNNY/imm1W1Eay3zM+AyihW1RqUrN7mqsskq/e9oIfMR
0jMee464qn6rFrbXVingwA8HGUJMeGmWF05sjcAcGX7mad9hU7JHlBdqk86TVzBld7Mu
7yPG1jDhB6l0yHtZUkzT4EI7lh6wbuE52yBgAzp16F/d/jc6Wp6fJISwvln4dF6QQUpu
TRYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:user-agent:references:subject:from:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=2tSHi8RpkWdB7WjV36hqXL2h3Y31b2k5KrTSND33ty8=;
b=BaF9x0hDFfUiKn2KvBxHZwc2BOcLtuIRt2oScKoMVeqdRljhUk+Y4xohLDyNLeIsnI
ZRaRRnq+3MjQiTvOgnA5xWIOb8/k7dPKB6kGKWmd0iUjdw0lHh6FleRwudE5gYwKMUqX
yCeZuE+elAZCh60MuRSaGxSgeg5VK0b2PGr2wOhuXXqKq+b2ZOWygiUa4eIiuyqLLJt/
cNibyn5GgLi43/Av+JmgzGxjziVc7dLQv9v3s/z8MyhZxXEJliHcoVun9qVBMLYCTsWb
qo5wKSz6gLJ+bLN/dftVG+E2g2b/MM71bguxAf+Ep1CPRdQpWl5c/MiiubMomHJ0utZM
asiw==
X-Gm-Message-State: AO0yUKUL5+0uw9t8u858tvxjcoUdEwkN98UNoFDsBt+cTDdB+6sp5n4+
putkNAJ2yZYMNHitAcpVh4ng+SOMMwU=
X-Google-Smtp-Source: AK7set+fkhgkWG8mxk7tZr7FSAM5S3ZYVjwufeYsf5aar96S8e2O4ocCjZ1g06r4KuUHfHn+dHkISg==
X-Received: by 2002:a05:6e02:1bee:b0:310:adfe:bfa9 with SMTP id
y14-20020a056e021bee00b00310adfebfa9mr2803856ilv.11.1675273633277;
Wed, 01 Feb 2023 09:47:13 -0800 (PST)
User-Agent: slrn/1.0.3 (Linux)
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: <63daa5a0.020a0220.95e5.b705@mx.google.com>
X-Mailman-Original-References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
 by: Grant Edwards - Wed, 1 Feb 2023 17:47 UTC

On 2023-02-01, Peter J. Holzer <hjp-python@hjp.at> wrote:
> On 2023-02-01 09:00:39 -0000, Muttley@dastardlyhq.com wrote:
>> Its not evolution, its revolution. Evolution retains old functionality.
>
> Tell a penguin that it can fly :-)

Penguins can fly. They just do it underwater...

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Thu, 2 Feb 2023 04:57:23 +1100
Lines: 36
Message-ID: <mailman.1744.1675274256.20444.python-list@python.org>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net> <trd9l4$93l4$1@dont-email.me>
<CAPTjJmpVX4y0gmd3S-NAkWZia7BZD5Mn+zvvEYx=9umwRyd+Sg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de 6xJiTOP+jF8WQA0DhyQbWggRbIUEWQLojpKYsRpFxseA==
Return-Path: <rosuav@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=kJiq7brF;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'class,': 0.05; '2023':
0.07; 'string': 0.07; 'utf-8': 0.07; '2.7': 0.09; 'byte': 0.09;
'fork': 0.09; 'hard.': 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; 'behaviour': 0.16; 'c++':
0.16; 'cease': 0.16; 'chrisa': 0.16; 'constraints.': 0.16;
'declaration.': 0.16; 'eg:': 0.16; 'feature.': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'greg': 0.16; 'received:209.85.218': 0.16; 'similar.': 0.16;
'skip:> 10': 0.16; 'sounds': 0.16; 'unicode': 0.16; 'url:peps':
0.16; 'wrote:': 0.16; 'python': 0.16; 'subject:question': 0.17;
'feb': 0.17; 'pm,': 0.19; 'thu,': 0.19; 'to:addr:python-list':
0.20; 'language': 0.21; 'languages': 0.22; 'code': 0.23;
'library': 0.26; "wasn't": 0.26; 'hey': 0.27; 'bit': 0.27; 'old':
0.27; 'fact': 0.28; 'message-id:@mail.gmail.com': 0.32; 'but':
0.32; "i'm": 0.33; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35; 'also,':
0.36; 'functions': 0.36; 'special': 0.37; 'really': 0.37;
'received:209.85': 0.37; 'way': 0.38; 'received:209': 0.39;
'rest': 0.39; 'wed,': 0.39; 'initial': 0.61; '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; 'ever':
0.63; 'hours': 0.63; 'skip:b 10': 0.63; 'mainly': 0.64; 'your':
0.64; 'opportunity': 0.66; 'decided': 0.67; 'entire': 0.67;
'technical': 0.67; 'that,': 0.67; 'you.': 0.71; 'virtual': 0.71;
'deal': 0.73; 'costs': 0.74; 'details.': 0.76; 'debt': 0.76;
'biggest': 0.84; 'extra': 0.84; 'backwards': 0.84; 'corners':
0.84; 'disagree': 0.84; 'mistakes': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=TyPXSbeLqguM30uL5DJ8fO4EQVsYIC+uu3XOAaNtq5M=;
b=kJiq7brFvEfgBZ5P+KI/JxzQWP/T1Yfpx5n29MfKBMgeQt/Q3BrpO0KTKcY8fZo0PC
dVyiTYWWoDVNK/EQQtXoMNOZCgjJRgp4jXNwZTggexWVdrXDsscUchp/1cP1FkEDEIW4
OOrkcjWo6Fpu4QGEXV7ICpLtyutKwbFVkyDrhyC4PXuQU5oWKxFTQ1ZARuSqnlakxRQt
4YSMCQq7KARXH/+xoYcROqMgUfCBVKBtZPQ8qNdKm4e0M9ZKQYJF+KoClRz/6wxsd66t
wfwK6AAqmzeHN1+9xcqfxdLWoX0eYKN9D6nWfM7csXnLa5/0twS4Dmq0rOTfpKI28Msi
r0mA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=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=TyPXSbeLqguM30uL5DJ8fO4EQVsYIC+uu3XOAaNtq5M=;
b=nz0vaK04Yv6JUUGBNc2liZmmBLJ05XTEbRpuvHcYHZF54M4EdxmyrTeqQP6vJCaOMy
9kA/oGs3aY/QtQ+iZSDxGhFgUT/fXxYBrXWwgSTOvJpGPCz0oVgiLs2fUvz1vTizNzN2
4UKL5NZUxWwqdBDx9yCWnAN1C9EZWWGuY0ejvPLaq0nqPp9wIO4SzcOLTQaeqNGz2B4P
RSMtpGPs3eLXdaEOcVDkV/5ml1qzbIezYGjZowqSk9u+dGDAaLccxWjwrEy9drlVPagK
M5uqKheUn2TyC0HPzz7LSqo9M/nS+XrDf+O8T6ZdwMOg4fyxF2YxWNdGkOl7sgGMcicb
mWdA==
X-Gm-Message-State: AO0yUKUES7BFcWXyVhnICZX+g5diJYRqIE5UgT5NJ8fP1r0F+XPZ2Hxf
7WCIO9n8uBpgcMizorf/xx4WmBr4TQBrZArm4DlecGzBlzs=
X-Google-Smtp-Source: AK7set+mNV1sc6PgvP1IVn7GC+Xzyy7X5Ca9PtQwFpSwFn7ELx476gNa8WT49sKT410SP+07kiPJ975D1113/vzAUwQ=
X-Received: by 2002:a17:906:488f:b0:878:67ab:4fa4 with SMTP id
v15-20020a170906488f00b0087867ab4fa4mr1064684ejq.28.1675274254563; Wed, 01
Feb 2023 09:57:34 -0800 (PST)
In-Reply-To: <trd9l4$93l4$1@dont-email.me>
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: <CAPTjJmpVX4y0gmd3S-NAkWZia7BZD5Mn+zvvEYx=9umwRyd+Sg@mail.gmail.com>
X-Mailman-Original-References: <tr0uki$1p2c5$1@dont-email.me>
<Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net> <trd9l4$93l4$1@dont-email.me>
 by: Chris Angelico - Wed, 1 Feb 2023 17:57 UTC

On Thu, 2 Feb 2023 at 04:29, <Muttley@dastardlyhq.com> wrote:
>
> On Wed, 1 Feb 2023 11:59:25 +1300
> Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
> >On 31/01/23 10:24 pm, Muttley@dastardlyhq.com wrote:
> >> All languages have their ugly corners due to initial design mistakes and/or
> >> constraints. Eg: java with the special behaviour of its string class, C++
> >> with "=0" pure virtual declaration. But they don't dump them and make all old
> >
> >> code suddenly cease to execute.
> >
> >No, but it was decided that Python 3 would have to be backwards
> >incompatible, mainly to sort out the Unicode mess. Given that,
> >the opportunity was taken to clean up some other mistakes as well.
>
> Unicode is just a string of bytes. C supports it with a few extra library
> functions to get unicode length vs byte length and similar. Its really
> not that hard. Rewriting an entire language just to support that sounds a
> bit absurd to me but hey ho...
>

No, Unicode is NOT a string of bytes. UTF-8 is a string of bytes, but
Unicode is not.

If you disagree with the way Python has been developed, you're welcome
to fork Python 2.7 and make your own language (but not called Python).
Meanwhile, the rest of us really appreciate the fact that Python
supports Unicode properly, not just as "a string of bytes". Also, be
sure to deal with the technical debt of refusing to ever remove any
feature. I'm curious how many dev hours that costs you.

Incidentally, the bytes->unicode transformation wasn't Python 3's
biggest reason for being. See https://peps.python.org/pep-3100/ for
details.

ChrisA

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Thu, 2 Feb 2023 05:22:41 +1100
Lines: 33
Message-ID: <mailman.1747.1675277302.20444.python-list@python.org>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<CAPTjJmomPGF1wk8YP5up6eao2ii+5NHULxts9J02qYd4inC2Mg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de i/BibVloZ+3rvmAyRk9qcAp57U4VM6S3NQvB49X2a//Q==
Return-Path: <rosuav@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=Zb3Z0itz;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: UNSURE 0.205
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.60; '*S*': 0.01; 'url-ip:159.89/16': 0.04;
'2023': 0.07; 'int': 0.09; 'import': 0.15; 'chrisa': 0.16;
'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
'integer': 0.16; 'received:209.85.218': 0.16; 'wrote:': 0.16;
'python': 0.16; 'subject:question': 0.17; 'feb': 0.17; 'figure':
0.19; 'thu,': 0.19; 'to:addr:python-list': 0.20; "i'd": 0.24;
'project.': 0.27; 'function': 0.27; 'old': 0.27; 'wrong': 0.28;
'module': 0.31; 'personally': 0.32; 'message-id:@mail.gmail.com':
0.32; 'but': 0.32; 'there': 0.33; 'same': 0.34; 'core': 0.34;
'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34; 'url-
ip:159/8': 0.35; 'url:jobs': 0.35; 'from:addr:gmail.com': 0.35;
'year': 0.36; "it's": 0.37; 'received:209.85': 0.37; 'put': 0.38;
'received:209': 0.39; 'developers': 0.39; '(see': 0.40;
'something': 0.40; 'hours': 0.63; 'willing': 0.64; 'spend': 0.64;
'your': 0.64; 'well': 0.65; 'pay': 0.65; 'invest': 0.67; 'order':
0.69; 'url-ip:167/8': 0.69; 'usd': 0.74; 'easy': 0.74; 'features':
0.75; 'hire': 0.78; 'entered': 0.84; 'eternal': 0.84; 'good,':
0.84; 'method,': 0.84; "people's": 0.84; 'pretend': 0.84;
'retains': 0.84; 'retention': 0.84; 'revolution.': 0.84;
'dollars': 0.86
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=ysl5/pamz4QSpskHlSWwE+bWj9pdLwPY4/Jp+Eq5kMw=;
b=Zb3Z0itzaW0X9l3inQNvQwsJ0xJ8yyat80mDQthVtwq66jhuTJBb6B9V++UbX7ddOX
QTdvfnJjDlL9Gs0LTw6a61z13W2HPJkT6PbR9qd7/dPT29jYcBLU6E+1b3JZ0V/rVMtz
RbHgaaDDdf+4O/n+ToHCywlwZiDZLVMdesxddmMdgng3NGV4ZdDx1lIxdbS1rrCEgpQN
Q4QJM2l+uJ4+w0DZ25hJPSEpEi8sXNrtQtJNKiht9z9e7t3VAJrAqpdXBF8kE5i3zsOe
VmeNIfk5D+dn2fJ9y5giCPaQQq3UkggfclZPpe/0AATJUr7pjC2zhFpDl19Ao3wOEID7
jEqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=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=ysl5/pamz4QSpskHlSWwE+bWj9pdLwPY4/Jp+Eq5kMw=;
b=3lmXr58oP5m3DXoMf6gb6MV/WwyI7iBldANVzy5NMK5qpriyd/H3KyckIDDf321y1G
jsdhFtgb+H6UkvD8KsbZH1v9P+1C5l78nqLuefRhKdS95XiahufdnE5AqFn5NC/S67k+
LK5tKzyA/24JR00xsl7K5dYXrgXQzk7q9BFRUlekQRfR4aL9fGaujsiUC8bhknbSTX0L
VQvB2/fIj0MFFLR2KsBWHsw8wJYA1RrMGnf2tWmobSJLQV4eal13XQpe1KYkGbyDpFZZ
m69cr5F3iEEpSS5O6QiXZh19n+tNf7V9+9eKjxCE2L73ZRRDUWeACYIcjpQp35Obs58P
RjaA==
X-Gm-Message-State: AO0yUKULhpgjAyf4q2GDibRy+uJHluIBgYc5oH9zNyg9rflcdsRSzd1t
lbj0s+TMcix7AJPtZ5VHZjufPuX2r2BotL1nqMtMxmCCK74=
X-Google-Smtp-Source: AK7set8jJ0PpnuNKlDBAhqPwBGmXgrb1u2M6DpTrK2tk7NPQy6VOrR7zm4dazirzrD5/4cyF64iMQ3O8geqXQSO+A+Y=
X-Received: by 2002:a17:906:180f:b0:885:5d1d:e33d with SMTP id
v15-20020a170906180f00b008855d1de33dmr986187eje.108.1675275772538; Wed, 01
Feb 2023 10:22:52 -0800 (PST)
In-Reply-To: <trd9nn$94gv$1@dont-email.me>
X-Mailman-Approved-At: Wed, 01 Feb 2023 13:48:20 -0500
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: <CAPTjJmomPGF1wk8YP5up6eao2ii+5NHULxts9J02qYd4inC2Mg@mail.gmail.com>
X-Mailman-Original-References: <tr0uki$1p2c5$1@dont-email.me>
<Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
 by: Chris Angelico - Wed, 1 Feb 2023 18:22 UTC

On Thu, 2 Feb 2023 at 04:26, <Muttley@dastardlyhq.com> wrote:
>
> Its not evolution, its revolution. Evolution retains old functionality.
>

By the way, I'd like to see your opinions on eternal retention of old
functionality. Which of these features are you willing to put effort
into supporting?

1) Long integer constants eg 1234L which are the long type rather than
the int type
2) dict.has_key method, doing the same job as "key in dict"
3) The input() function, which automatically evals what was entered at
the keyboard
4) `x` which does the same as repr(x)
5) "from module import *" inside a function

Retaining old functionality is all well and good, but there are
limits, especially when the old functionality is downright wrong
(input vs raw_input). Before you complain about other people's
decisions, find out how many hours of YOUR time you're willing to
invest into a project.

Or alternatively, how many dollars you would spend on it. Let's
pretend that you can pay for as many core Python developers as you
like for USD 150,000 a year each. (See job posting
https://jobs.pyfound.org/apply/TwgMP1b4OV/Security-Developer-In-Residence
for where I got that figure from.) How many are you personally willing
to hire in order to have these features maintained?

It's easy to whine. Much harder to actually do something about it.

ChrisA

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: Rich...@Damon-Family.org (Richard Damon)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Wed, 1 Feb 2023 20:21:07 -0500
Lines: 29
Message-ID: <mailman.1749.1675300871.20444.python-list@python.org>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<trd9l4$93l4$1@dont-email.me>
<e57176e6-5dca-6613-bacc-dcc3f03b7458@Damon-Family.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de NKfTtAesFHejkCgaik2MnwzZ6J9eWlkFI05jlH464ITw==
Return-Path: <Richard@Damon-Family.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'class,': 0.05; 'variable':
0.05; '2023': 0.07; 'string': 0.07; 'utf-8': 0.07; 'byte': 0.09;
'damon': 0.09; 'hard.': 0.09; 'behaviour': 0.16; 'c++': 0.16;
'cease': 0.16; 'characters.': 0.16; 'constraints.': 0.16;
'declaration.': 0.16; 'eg:': 0.16; 'encoding,': 0.16; 'from:addr
:damon-family.org': 0.16; 'from:addr:richard': 0.16;
'from:name:richard damon': 0.16; 'greg': 0.16; 'message-id:@Damon-
Family.org': 0.16; 'python3': 0.16; 'similar.': 0.16; 'sounds':
0.16; 'unicode': 0.16; 'wrote:': 0.16; 'python': 0.16;
'subject:question': 0.17; 'feb': 0.17; 'uses': 0.19; 'pm,': 0.19;
'to:addr:python-list': 0.20; 'language': 0.21; 'languages': 0.22;
'code': 0.23; 'actual': 0.25; 'library': 0.26; 'hey': 0.27;
"isn't": 0.27; 'bit': 0.27; 'old': 0.27; '>>>': 0.28; 'fact':
0.28; 'header:User-Agent:1': 0.30; 'am,': 0.31; 'but': 0.32;
'header:In-Reply-To:1': 0.34; 'words': 0.35; 'functions': 0.36;
'special': 0.37; 'really': 0.37; 'received:192.168': 0.37; 'wed,':
0.39; 'initial': 0.61; 'key': 0.64; 'mainly': 0.64; 'richard':
0.64; 'opportunity': 0.66; 'decided': 0.67; 'entire': 0.67;
'outside': 0.67; 'that,': 0.67; 'sequence': 0.69; 'virtual': 0.71;
'extra': 0.84; 'backwards': 0.84; 'corners': 0.84; 'indexed':
0.84; 'received:74.208.4.197': 0.84; 'mistakes': 0.91
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <trd9l4$93l4$1@dont-email.me>
X-Provags-ID: V03:K1:3OUMRpnYHtRUD56+L60kl3/q37swVo9rmZuDx/se3s/68LdCYWL
uKf509T3xZa3F2WbQxXGf9cia+afMF/0pd3+monfTk0UvTQ3jNuU7GajN0+R3Ul2F18Gy3b
W+x5EsEXM2fvuearb0G92E+uK86EENUYmdqnhg11m0wYrzLy4bRCkmP3gbuHJCIgSuM92g4
J0qLD+2UURaKQrIcOGbRg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:dZaC/dZMCPs=;e+nLHqj+20uGcTlgPtl9rXopDDG
4lueYDVafeTw0Bga/OUZO8ipQM8Ui1y5dTzlNKJAbniyLphEEjkfx/NdEqiQ2B3v+zrsTxX6c
cXaXUVqEI+ltvLLrtMpr+o6ACIzKQypRpomqx0NbuSFMMEFd7aFlHPTuPfA3u/TgNPMR7k/Tj
LMl15e37gPteVY8SPYMvLinXn5bw1GbUlXmUtGNQtuW/oycUeZlK+XIuGWiQhUdcCM38VBYJg
ke2bdhTfBhvz4kWs7BUsojQ4KlMZuDB8ApYbCTDgW9YUEYKZ+7K0i2rflX/v44DmVlw6gOYE+
URkZQeiIUvsQp5Q0uCSzl9nHNfh0E9rIiYU8jnMn7DazSLwaQ9gljyF+ZKB+1s0O80l0JP9V9
TRLnL86NhAFYKjx2G12EGFjUcZRdT/aYiVe2AOqbdqvuP8kdH/VWbx8OfSYi7cWNddcinnCrc
EQeStteKncY088h1sooAv2fXJbYsuCSlpkSctd2VPtmxVBhnZFNLqAeWhZPDMDZbK2zut7pcV
s/Fg3xt3a7xndwnWWljrAfU0+qhrX+h52ezFlDAUndMVyMRmrYDivhvMx9iNFIqz3BznJjgdb
tF1zmamLU3nbBfu/NOpGVzUod6Qoe2GuE2s7Q8rmkSySvyoA60vGcfO+iJBW8euEssXEwvzKb
VSIIf89KO6aJu9y5pzmJH6dWK4+Cv16HNlMrXJ/jQQ==
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: <e57176e6-5dca-6613-bacc-dcc3f03b7458@Damon-Family.org>
X-Mailman-Original-References: <tr0uki$1p2c5$1@dont-email.me>
<Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<trd9l4$93l4$1@dont-email.me>
 by: Richard Damon - Thu, 2 Feb 2023 01:21 UTC

On 2/1/23 3:59 AM, Muttley@dastardlyhq.com wrote:
> On Wed, 1 Feb 2023 11:59:25 +1300
> Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
>> On 31/01/23 10:24 pm, Muttley@dastardlyhq.com wrote:
>>> All languages have their ugly corners due to initial design mistakes and/or
>>> constraints. Eg: java with the special behaviour of its string class, C++
>>> with "=0" pure virtual declaration. But they don't dump them and make all old
>>> code suddenly cease to execute.
>> No, but it was decided that Python 3 would have to be backwards
>> incompatible, mainly to sort out the Unicode mess. Given that,
>> the opportunity was taken to clean up some other mistakes as well.
> Unicode is just a string of bytes. C supports it with a few extra library
> functions to get unicode length vs byte length and similar. Its really
> not that hard. Rewriting an entire language just to support that sounds a
> bit absurd to me but hey ho...
>
No, Unicode is a string of 21 bit characters. UTF-8 is a representation
that uses bytes, but isn't itself "Unicode".

The key fact is that a "String" variable is indexed not by bytes of
UTF-8 encoding, but by actual characters.

Python3 will store a string as either a sequence of Bytes if the data is
all Latin-1, as a sequence of 16-bit words if the data all fits on th
BMP, and a sequence of 32 bit words if it has a value outside the BMP.

--
Richard Damon

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Rich...@Damon-Family.org (Richard Damon)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Wed, 1 Feb 2023 20:32:58 -0500
Lines: 17
Message-ID: <mailman.1750.1675301582.20444.python-list@python.org>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<trd9l4$93l4$1@dont-email.me> <63daa575.050a0220.761e6.3eb5@mx.google.com>
<4a6f95f5-b105-383a-f4e7-9b6e0e7e34cd@Damon-Family.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de t+khWVEdpTgSTXbUtWLHow4HIvHo98k9ysXAmbgQePAg==
Return-Path: <Richard@Damon-Family.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'string': 0.07; 'damon':
0.09; 'does,': 0.16; 'from:addr:damon-family.org': 0.16;
'from:addr:richard': 0.16; 'from:name:richard damon': 0.16;
'literals': 0.16; 'message-id:@Damon-Family.org': 0.16;
'received:74.208.4.194': 0.16; 'unicode': 0.16; 'wrote:': 0.16;
'subject:question': 0.17; 'grant': 0.17; 'libraries': 0.19; 'pm,':
0.19; 'to:addr:python-list': 0.20; 'code': 0.23; 'header:User-
Agent:1': 0.30; "doesn't": 0.32; 'manipulate': 0.32; 'but': 0.32;
'there': 0.33; 'hold': 0.33; 'header:In-Reply-To:1': 0.34;
'functions': 0.36; 'received:192.168': 0.37; 'define': 0.40;
'richard': 0.64; 'deal': 0.73
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <63daa575.050a0220.761e6.3eb5@mx.google.com>
X-Provags-ID: V03:K1:NCFL8tVHMW+wE9wqaHppcTxJfl4784TrbNZ1QSiESR24rYyf2+f
0LerltiXOZgNetscRglSe96V/SC5aHX+Lv+8Ys99sKpgGxtb2cRozyP5PqL/fBz0Hsi5VK2
EEg//Ph+0eAuuGsUTW6V70HzrelN08W5hd/RFVTp/rBQyMYD6STAjxwJ7zJ1fTYoYQubJhp
efzTyB1ffY+UhJh9Fl9+g==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:Wm1MpVGVNZM=;9PJZb8MfRrY8Ody0ixyZtJ4c6dO
T8VqLuqadwlKznw2l728xj1qD50qQcSe2LOBkQVRngYkOCQQ/dhrIyjIINSB70KQxXGMUH6GS
JBJMOyWe8AB+tVBcm8tc7XjcmPzVPGXNrA8qMijGqySjgr/B4rbnuth/Z9vFp/f0bTFP1pAcy
/S1D5cdkgtbbz9w053wdwH/45hvLVnaD7Uw2E/7zfd9UR7xb5Ak6PUGTBLjGjF5hb5nXxi4Yg
RF0l5SDFEDNMj+drFHRWTr+LXNguIYO7Lbber7iUw7RJ3WSpwUbRdOYeqdlg/eAuGbAgFz2qI
vuaqpUon67S/Ol+xnT13yxSrXO3S9N8u5muRbNIFaYvKWTYIzCo9i3Cdkx8ipFbvFWe6bct49
Thb1mOtKTyJwjBN0kiT95P2wTVUDLKzW4UX5h3EG0RXp/xgyPd3QXaYr/W+0WWgXnx1xNFE+8
pUqGAm4gXmzz6kz96eJGuKsyH6pdStz0mGbC9w6imeaDeL1aeu9Q+lrbO9OncbDfdk+JSmpp/
vqoL+pm4iQcnVeYPbjCM8JbC/U3zz+QgzQqUQq8E+iVokIX/ABOpQbJlsMoDkBiWu/p9qIK2n
4zQHBvJyRuEIut8ngtEAIPZhvEICZBXHxjccyHWs5l1uxtDJZ3yH+4aP+5sNCVj2Pww4ChHJn
3SfOirOQduwc/aN/L2rEJ7R5BrOeZQItEItFnM6FYQ==
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: <4a6f95f5-b105-383a-f4e7-9b6e0e7e34cd@Damon-Family.org>
X-Mailman-Original-References: <tr0uki$1p2c5$1@dont-email.me>
<Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<trd9l4$93l4$1@dont-email.me> <63daa575.050a0220.761e6.3eb5@mx.google.com>
 by: Richard Damon - Thu, 2 Feb 2023 01:32 UTC

On 2/1/23 12:46 PM, Grant Edwards wrote:
> C (the language) doesn't support Unicode at all. There are, however,
> libraries that can be used to deal with it.

No, it does, but only optionally.

<uchar.h> provides functions that manipulate Unicode "Characters"

The type char32_t will hold Unicode Code Points, and you can define
string literals of that type with

U"string" notation.

--
Richard Damon

Re: evaluation question

<k40p84F1nniU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bow...@montana.com (rbowman)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: 2 Feb 2023 03:33:24 GMT
Lines: 35
Message-ID: <k40p84F1nniU1@mid.individual.net>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<trbvi6$3vgh9$1@dont-email.me> <trd9g8$92t2$1@dont-email.me>
<k3vhs0Fq2i8U8@mid.individual.net>
<languages-20230201183040@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net q7o5LA16QPLa0nPU5CoMQAlO1pp63Q38N7lhdL+/Skw8lxVX5F
Cancel-Lock: sha1:9uS/hJ20XkDR6f8qw592Fp582wo=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Thu, 2 Feb 2023 03:33 UTC

On 1 Feb 2023 17:31:02 GMT, Stefan Ram wrote:

> rbowman <bowman@montana.com> writes:
>><Venting> Why does every language have to invent their own function to
>>print to the console that is very similar but not the same as the rest
>>of the herd?</Venting>
>
> Why do there have to be different languages at all?

https://homepages.cwi.nl/~steven/abc/programmers/introduction.html

"Why ABC?
The answer to the question 'Why a new language?' is the same as the answer
to the question 'Why new computers?': because they can help you do the job
better. With the choice between a language where it will take a week to
write a program, and a language where it will take an afternoon, most
people will choose the latter."

That leads to the question of when Van Rossum was looking for a hobby
project, why not extend ABC? Or Pike?

https://pike.lysator.liu.se/about/history/

Then there is the question of how a new language becomes popular. When
Matsumoto developed Ruby it was almost 4 years before there was any
coherent English documentation. How did it get traction?

How about Go? Thompson and Pike hate C++ (with cause) so they went back to
C and reworked it. Then there is C++ itself, which was released before its
time.

There are many more obscure languages when someone saw a need. Then there
are features the propagate like lambdas. Everyone came down with lambda
envy and shoehorned them into the language one way or the other.

Re: evaluation question

<trfvu2$qhcd$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Thu, 2 Feb 2023 09:31:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <trfvu2$qhcd$1@dont-email.me>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
Injection-Date: Thu, 2 Feb 2023 09:31:46 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="456b2be3272efa6f8ec926e5693fd08d";
logging-data="869773"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SMt8YIh94mpjO/cAJpTwE"
Cancel-Lock: sha1:YNMzWu8wxFHwRioJ38ZJ63sWen0=
 by: Mutt...@dastardlyhq.com - Thu, 2 Feb 2023 09:31 UTC

On Wed, 1 Feb 2023 18:28:04 +0100
"Peter J. Holzer" <hjp-python@hjp.at> wrote:
>--b2nljkb3mdefsdhx
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>On 2023-02-01 09:00:39 -0000, Muttley@dastardlyhq.com wrote:
>> Its not evolution, its revolution. Evolution retains old functionality.
>
>Tell a penguin that it can fly :-)

Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
their wings and fall out the tree, it happened gradually. Python2 syntax
could have been retained for X versions of 3 just as C++ keeps old stuff
until its eventually deprecated them removed.

Re: evaluation question

<trg06o$qipb$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Thu, 2 Feb 2023 09:36:24 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <trg06o$qipb$1@dont-email.me>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<trd9l4$93l4$1@dont-email.me>
<63daa575.050a0220.761e6.3eb5@mx.google.com>
<mailman.1742.1675273607.20444.python-list@python.org>
Injection-Date: Thu, 2 Feb 2023 09:36:24 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="456b2be3272efa6f8ec926e5693fd08d";
logging-data="871211"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GIaSFu/kWB6N9kO4ovOAs"
Cancel-Lock: sha1:8N21En+JeQ5/vTVITbY1m7v8UVE=
 by: Mutt...@dastardlyhq.com - Thu, 2 Feb 2023 09:36 UTC

On Wed, 01 Feb 2023 09:46:29 -0800 (PST)
Grant Edwards <grant.b.edwards@gmail.com> wrote:
>On 2023-02-01, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:
>>
>>>No, but it was decided that Python 3 would have to be backwards
>>>incompatible, mainly to sort out the Unicode mess. Given that,
>>>the opportunity was taken to clean up some other mistakes as well.
>>
>> Unicode is just a string of bytes.
>
>No it isn't. Certain _encodings_ of Unicode are strings of bytes
>(UTF-8, for example).

No sane person (or language) uses any other encoding these days.

>> C supports it with a few extra library functions to get unicode
>> length vs byte length and similar. Its really not that
>> hard.
>
>It is, actually.

No it isn't. I wrote some unicode functions in C. Doesn't exactly require
a Mensa IQ to do it.

>> Rewriting an entire language just to support that sounds a bit
>> absurd to me but hey ho...
>
>Feel free to maintain your own fork of 2.7 :)

I get tired of this cretinous response.

"I don't like the styling of new BMWs"

"Feel free to update the old model".

Whatever.

Re: evaluation question

<trg08k$qj0i$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Thu, 2 Feb 2023 09:37:24 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <trg08k$qj0i$1@dont-email.me>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<CAPTjJmomPGF1wk8YP5up6eao2ii+5NHULxts9J02qYd4inC2Mg@mail.gmail.com>
<mailman.1747.1675277302.20444.python-list@python.org>
Injection-Date: Thu, 2 Feb 2023 09:37:24 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="456b2be3272efa6f8ec926e5693fd08d";
logging-data="871442"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6yZ9qktVjpP3zvD/Hxofv"
Cancel-Lock: sha1:fSq37E2pGYHZh+PEAMMV2Sap414=
 by: Mutt...@dastardlyhq.com - Thu, 2 Feb 2023 09:37 UTC

On Thu, 2 Feb 2023 05:22:41 +1100
Chris Angelico <rosuav@gmail.com> wrote:
>On Thu, 2 Feb 2023 at 04:26, <Muttley@dastardlyhq.com> wrote:
>>
>> Its not evolution, its revolution. Evolution retains old functionality.
>>
>
>By the way, I'd like to see your opinions on eternal retention of old
>functionality. Which of these features are you willing to put effort
>into supporting?

Where did I say keep it forever? You deprecate it first THEN eventually
remove it when people have had time to update their code.

At least thats what sensible language authors do.

Re: evaluation question

<k423siF7s1jU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bow...@montana.com (rbowman)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: 2 Feb 2023 15:41:07 GMT
Lines: 17
Message-ID: <k423siF7s1jU1@mid.individual.net>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net JNtDgHrOfrVJaKQwW9jZ3wUHPDal1ufVBSw5ylok+D7NXtQqST
Cancel-Lock: sha1:oyz961m8CXfR+K3woW+/yGzf8W0=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Thu, 2 Feb 2023 15:41 UTC

On Thu, 2 Feb 2023 09:31:46 -0000 (UTC), Muttley wrote:

> Yeah ok But the ancestors of penguins didn't wake up one morning, flap
> their wings and fall out the tree, it happened gradually. Python2 syntax
> could have been retained for X versions of 3 just as C++ keeps old stuff
> until its eventually deprecated them removed.

Isn't that prolonging the agony? I had some 2.7 scripts I had to move to
3. It wasn't that painful and I learned the new syntax. Being lazy if they
still worked I would have kept using 2.7 syntax until someday it really
went away.

MS did it big time with VB .NET. I'm sure there still are people
maintaining and extending old-style VB until it ceases to work altogether.
Then they'll be faced with the same learning curve most people suffered
through 20 years ago.

Re: evaluation question

<trgn74$v0sn$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Thu, 2 Feb 2023 16:09:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <trgn74$v0sn$1@dont-email.me>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<k423siF7s1jU1@mid.individual.net>
Injection-Date: Thu, 2 Feb 2023 16:09:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="456b2be3272efa6f8ec926e5693fd08d";
logging-data="1016727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/C5pX/SoablM0BQqQfcX19"
Cancel-Lock: sha1:+tEVWFfV+TzWUswsuR1ztbVsaJI=
 by: Mutt...@dastardlyhq.com - Thu, 2 Feb 2023 16:09 UTC

On 2 Feb 2023 15:41:07 GMT
rbowman <bowman@montana.com> wrote:
>On Thu, 2 Feb 2023 09:31:46 -0000 (UTC), Muttley wrote:
>
>
>> Yeah ok But the ancestors of penguins didn't wake up one morning, flap
>> their wings and fall out the tree, it happened gradually. Python2 syntax
>> could have been retained for X versions of 3 just as C++ keeps old stuff
>> until its eventually deprecated them removed.
>
>Isn't that prolonging the agony? I had some 2.7 scripts I had to move to

What if its not a few scripts? What if its 10s of thousands of lines of
core production code? If the company it belongs to wants to add new Python 3
features it can't just plug them into the code because it won't run under
Python 3, they have to do a full overhaul or even complete rewrite and that
costs a lot of time and money.

Unfortunately a lot of people who've never worked in large institutions with
huge code bases don't understand this.

>MS did it big time with VB .NET. I'm sure there still are people
>maintaining and extending old-style VB until it ceases to work altogether.

And thats exactly what happened. Clunky old code was kept way beyond its
use by date because rewriting for .NET was simply too much pain.

>Then they'll be faced with the same learning curve most people suffered
>through 20 years ago.

The learning curve is irrelevant, its time and cost that matters.

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Fri, 3 Feb 2023 05:12:31 +1100
Lines: 12
Message-ID: <mailman.1751.1675361564.20444.python-list@python.org>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<CAPTjJmr4Lm5zSM7TiGBkjnKSN+Wyy8Lc7bnRZSogPWKCjeSWZg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de xrU+6j16eh4hfU/hjatnWQo0g2nj00BDIrxkwcfhXkqw==
Return-Path: <rosuav@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=Uhp+SUCk;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '3.8': 0.05; '2023': 0.07;
'happened': 0.07; '2.7': 0.09; 'what,': 0.09; 'supported': 0.15;
'syntax': 0.15; 'c++': 0.16; 'chrisa': 0.16; 'from:addr:rosuav':
0.16; 'from:name:chris angelico': 0.16; 'gradually.': 0.16;
'received:209.85.218': 0.16; 'removed.': 0.16; 'tree,': 0.16;
'wrote:': 0.16; 'python': 0.16; 'subject:question': 0.17; 'feb':
0.17; 'to:addr:python-list': 0.20; 'fri,': 0.22; 'stuff': 0.25;
'old': 0.27; 'message-id:@mail.gmail.com': 0.32; 'but': 0.32;
"didn't": 0.34; 'mean': 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'received:209.85': 0.37; 'could': 0.38; 'received:209': 0.39;
'morning,': 0.61; 'eventually': 0.84; 'was.': 0.84; 'retained':
0.91; 'fall': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=YSI47wBGOW4JOKuKnD1uDss6OtaRWDgjuvCulVxYeCw=;
b=Uhp+SUCkIQwCdIfNfJLHJQYpcaCiZhBtliPG8OnDJf+zc77cxz8t0NGUmFZBWQ+DI+
08N48kCz1nzfkQ3aPhYNogiAm2RjozvKb+PNSmNvxAdSH8DqpXGLwC8gBsY5X1/uI4Oo
AjMDAisnzNjIC9NAHFCeGt5Heiw53e9OpfqtIzyGeJu4inbP/NcaPDglzVQUiRT+Nwkn
xKkGBkAUjNgbKg2PQTaBbRodj6i67fHmpiapAKKVkyfZEyCy3gLDF7ySHtgQiv1/GbX/
Bc8wZdT6UIQ0/u6HqkVhRpngGzk7TPRzrkU5JC1GHf0bo+9vB0m11KASe0l8q7ObolCC
7esA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=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=YSI47wBGOW4JOKuKnD1uDss6OtaRWDgjuvCulVxYeCw=;
b=3xV7InR/MVjlBfWlHe+mwMnwXXJuwuRiV6PnSsypM7ULxeGrv2Dw5WRsOKuDU3Pseb
OyRTQTi6GieCZYhoqlD9R7gzunWIx6gHdW5+lw40e7cpSgap3Jsc7awqz8VB4WjLDxZd
ji+Q+BbwJPdlLdEyc9Nis4d7yolGhwQjSAJji1X0gOEGc00q3/UjEgM8JNtqWENXny3R
dBdB4zp/sQlev4khRLbAgDBSBgfYK0r4Wv54IKVWCDMWS9lu4GOqB4di+GEX0yJP+Avl
irRsjKYLPoZcGS83Sb6sI2UOzIPlpeWg/oKiQU8wTF3mJ+6K19igzCLFkwPD8QkbvzZQ
732Q==
X-Gm-Message-State: AO0yUKWzPSqtI2hDaupzBZ87t55hyg5RfOZaM509sGZvNI1SdT8L24ck
EbNp+oneQUmz4sqhqJpgJf6NwnjJLlHrAjEFXWyU2Qp3
X-Google-Smtp-Source: AK7set95pTgC2p8QbG/e/ARlm2nnw2GEy9gOa6ChqxEshi5nO9ZJ9v3ScZdBoluCwPBNtImow97RYZ9t1C7XmntcfVA=
X-Received: by 2002:a17:906:6611:b0:880:575f:b20c with SMTP id
b17-20020a170906661100b00880575fb20cmr1962417ejp.177.1675361562591; Thu, 02
Feb 2023 10:12:42 -0800 (PST)
In-Reply-To: <trfvu2$qhcd$1@dont-email.me>
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: <CAPTjJmr4Lm5zSM7TiGBkjnKSN+Wyy8Lc7bnRZSogPWKCjeSWZg@mail.gmail.com>
X-Mailman-Original-References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
 by: Chris Angelico - Thu, 2 Feb 2023 18:12 UTC

On Fri, 3 Feb 2023 at 04:48, <Muttley@dastardlyhq.com> wrote:
> Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
> their wings and fall out the tree, it happened gradually. Python2 syntax
> could have been retained for X versions of 3 just as C++ keeps old stuff
> until its eventually deprecated them removed.

What, you mean Python 2.7 could have continued to be supported until
Python 3.8 (yes, that's not a typo) was released?

It was.

ChrisA

Re: evaluation question

<trh95n$1247f$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nntp.mbo...@spamgourmet.com (Mark Bourne)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Thu, 2 Feb 2023 21:15:34 +0000
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <trh95n$1247f$1@dont-email.me>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 2 Feb 2023 21:15:35 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="690f6c0160d07a871336bd61a0ee0a65";
logging-data="1118447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BOlmNG8KSTU9GaA8XYQ9C"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
SeaMonkey/2.53.15
Cancel-Lock: sha1:rZuPLrnNn0mmizs0P/t+p6bMJPY=
In-Reply-To: <trfvu2$qhcd$1@dont-email.me>
 by: Mark Bourne - Thu, 2 Feb 2023 21:15 UTC

Muttley@dastardlyhq.com wrote:
> On Wed, 1 Feb 2023 18:28:04 +0100
> "Peter J. Holzer" <hjp-python@hjp.at> wrote:
>> --b2nljkb3mdefsdhx
>> Content-Type: text/plain; charset=us-ascii
>> Content-Disposition: inline
>> Content-Transfer-Encoding: quoted-printable
>>
>> On 2023-02-01 09:00:39 -0000, Muttley@dastardlyhq.com wrote:
>>> Its not evolution, its revolution. Evolution retains old functionality.
>>
>> Tell a penguin that it can fly :-)
>
> Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
> their wings and fall out the tree, it happened gradually. Python2 syntax
> could have been retained for X versions of 3 just as C++ keeps old stuff
> until its eventually deprecated them removed.

Python 2 *was* retained for X versions of Python 3. From a quick check,
Python 3.0 was released in December 2008 and Python 2 support ended in
January 2020 - by which time Python 3 was up to 3.8 as ChrisA mentioned.
That's about an 11 year transition period, which is hardly sudden!
Python 3 *was* the point at which the features deprecated in Python 2
were removed.

The problem is, a lot seemed to ignore Python 3 for the first 12 years
and then suddenly panic because Python 2 support had ended.

--
Mark.

Re: evaluation question

<k432ehFcisjU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: greg.ew...@canterbury.ac.nz (Greg Ewing)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Fri, 3 Feb 2023 13:22:36 +1300
Lines: 26
Message-ID: <k432ehFcisjU1@mid.individual.net>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me> <k423siF7s1jU1@mid.individual.net>
<trgn74$v0sn$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Sa3daSQ3n+0ISLUmTRl0hw2br5yjNHbZxAZPtCJgzHmiPMFLP3
Cancel-Lock: sha1:MC64AoUYVsYVUUkpy/UQyDyBKoE=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:91.0)
Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <trgn74$v0sn$1@dont-email.me>
 by: Greg Ewing - Fri, 3 Feb 2023 00:22 UTC

On 3/02/23 5:09 am, Muttley@dastardlyhq.com wrote:
> What if its 10s of thousands of lines of
> core production code? If the company it belongs to wants to add new Python 3
> features it can't just plug them into the code because it won't run under
> Python 3, they have to do a full overhaul or even complete rewrite and that
> costs a lot of time and money.

A possible strategy in that case would have been to incrementally
rewrite it in such a way that the code would run in both 2.7 and 3.x
(various features were added to 2.7 to make that possible).

When that point is reached, you can then switch to running it with
Python 3 and start using the new features.

Also, if you're a company whose business is totally reliant on some
piece of code, it would be prudent to plan ahead and budget for
rewriting or replacing it at some point.

People seem to think that because code doesn't wear out like
hardware, you don't have to budget for replacing it. But you can't
expect third party software to be maintained forever -- particularly
when, as with Python, the maintenance is mainly being done by
*volunteers*.

--
Greg

Re: evaluation question

<k43ld2FeulaU3@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bow...@montana.com (rbowman)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: 3 Feb 2023 05:46:10 GMT
Lines: 31
Message-ID: <k43ld2FeulaU3@mid.individual.net>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me> <k423siF7s1jU1@mid.individual.net>
<trgn74$v0sn$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ROYaFA6PMREB9c3yvjVqWwvA6htMqM/C1Cep3luHKzYceBg28/
Cancel-Lock: sha1:X7jJInddOwcA4or0LJ166TBvyhY=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
 by: rbowman - Fri, 3 Feb 2023 05:46 UTC

On Thu, 2 Feb 2023 16:09:09 -0000 (UTC), Muttley wrote:

> What if its not a few scripts? What if its 10s of thousands of lines of
> core production code? If the company it belongs to wants to add new
> Python 3 features it can't just plug them into the code because it won't
> run under Python 3, they have to do a full overhaul or even complete
> rewrite and that costs a lot of time and money.

Tell me about it... Esri is the 500 pound gorilla in the GIS industry.
They haven't been secretive about their roadmap but the tools people have
been using for almost 20 years are going, going, GONE.

Part of that is their scripting language ArcPy moved to 3.8. It's a minor
inconvenience for me to update some old scripts and to develop with 3 but
a lot of firms have those thousands of lines of code they've developed
over the years in ArcPy for GIS data manipulation.

More painful for me is the C++ API is also gone. Legacy sites have a
couple of more years before it's all over. That leaves me with a foot in
both worlds.

> Unfortunately a lot of people who've never worked in large institutions
> with huge code bases don't understand this.

I don't work in a large company but I deal with about 25 years of legacy
code every day. The core functionality is good but the time and money is
spent putting lipstick on a pig.

Technical debt is an industry wide problem.

Re: evaluation question

<trin8v$1cd97$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Mutt...@dastardlyhq.com
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Fri, 3 Feb 2023 10:22:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <trin8v$1cd97$1@dont-email.me>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<CAPTjJmr4Lm5zSM7TiGBkjnKSN+Wyy8Lc7bnRZSogPWKCjeSWZg@mail.gmail.com>
<mailman.1751.1675361564.20444.python-list@python.org>
Injection-Date: Fri, 3 Feb 2023 10:22:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c9fa1356649f89431108f494637d7e0e";
logging-data="1455399"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cnUBZno/zZ++pAWP5yd/2"
Cancel-Lock: sha1:32PuBWMlJAohtIFqPPxmKzpeAD8=
 by: Mutt...@dastardlyhq.com - Fri, 3 Feb 2023 10:22 UTC

On Fri, 3 Feb 2023 05:12:31 +1100
Chris Angelico <rosuav@gmail.com> wrote:
>On Fri, 3 Feb 2023 at 04:48, <Muttley@dastardlyhq.com> wrote:
>> Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
>> their wings and fall out the tree, it happened gradually. Python2 syntax
>> could have been retained for X versions of 3 just as C++ keeps old stuff
>> until its eventually deprecated them removed.
>
>What, you mean Python 2.7 could have continued to be supported until
>Python 3.8 (yes, that's not a typo) was released?

Thats really useful if you've got 100K line Python 2 codebase and want to
use some Python 3 only features in it isn't it?

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: rob.cli...@btinternet.com (Rob Cliffe)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Fri, 3 Feb 2023 15:44:16 +0000
Lines: 29
Message-ID: <mailman.1777.1675756082.20444.python-list@python.org>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de Dv277Nvme7x9bnq07U9FhQutivV2spFdZAzJcrNlAs9A==
Return-Path: <rob.cliffe@btinternet.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=btinternet.com header.i=@btinternet.com header.b=jzo1yOhW;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.012
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '2023': 0.07; 'happened':
0.07; 'text/plain;': 0.07; ':-)': 0.09; 'blank': 0.09; 'prints':
0.09; 'syntax': 0.15; 'break,': 0.16; 'c++': 0.16; 'gradually.':
0.16; 'removed.': 0.16; 'tree,': 0.16; 'ways.': 0.16; 'wrote:':
0.16; 'python': 0.16; 'subject:question': 0.17; 'feb': 0.17;
"can't": 0.17; 'to:addr:python-list': 0.20; 'skip:- 10': 0.25;
'stuff': 0.25; 'function': 0.27; 'old': 0.27; '>>>': 0.28; 'header
:User-Agent:1': 0.30; '(as': 0.32; 'empty': 0.32;
'received:192.168.1': 0.32; 'but': 0.32; "didn't": 0.34; 'header
:In-Reply-To:1': 0.34; 'received:192.168': 0.37; 'could': 0.38;
'two': 0.39; 'wed,': 0.39; 'difficult': 0.40; 'received:213':
0.40; 'wishes': 0.40; 'both': 0.40; 'tell': 0.60; 'best': 0.61;
'inline': 0.61; 'morning,': 0.61; 'eventually': 0.84; 'retains':
0.84; 'revolution.': 0.84; 'rob': 0.84; 'retained': 0.91; 'fall':
0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com;
s=btmx201904; t=1675439071;
bh=IySYJhZVITFnExQksnYQz0S6skhg5XlSLOiZOHg5x3I=;
h=Message-ID:Date:MIME-Version:Subject:To:References:From:In-Reply-To;
b=jzo1yOhWPI9If9sTfFGbSp9T2GIhp+SkSqox8IBXbcllmfJWiggevD2+x3neFL3suWlqWQ1SS6+mM0ZSv0vWOYMm+VUsg0UpkGgzb5w/inmkl9OvAbCZb2RvYf0AIzOwRe76gHiyhuItoLIGQAwt6XR97KseQVCDQRSCC3kk1k4Kc0UrwXeHp4wP+OnOrp7ZO953HxGkCb9e3+JxqlqK6mSV4b8djyx/3dePq/P/LsKjHaWf7zz38jTGcgO14J3TuirtK8E7ftbsTOHrb9uPn78/gCus5LoVeFyn2kQ7zI4JRwIju3b9BV2vO7H9oysKxr6e0MBnHE0DxMPRQHkehg==
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=rob.cliffe@btinternet.com;
bimi=skipped
X-SNCR-Rigid: 613943C64E43AA0E
X-Originating-IP: [109.149.69.127]
X-OWM-Source-IP: 109.149.69.127 (GB)
X-OWM-Env-Sender: rob.cliffe@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrudegtddgjeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfhosgcuvehlihhffhgvuceorhhosgdrtghlihhffhgvsegsthhinhhtvghrnhgvthdrtghomheqnecuggftrfgrthhtvghrnhepvdetudfhtefgveegieffleelvdeugfeikeevveehudetgfevieejfedtteevtdegnecukfhppedutdelrddugeelrdeiledruddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrvddtgegnpdhinhgvthepuddtledrudegledrieelrdduvdejpdhmrghilhhfrhhomheprhhosgdrtghlihhffhgvsegsthhinhhtvghrnhgvthdrtghomhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehphihthhhonhdqlhhishhtsehphihthhhonhdrohhrgh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-SNCR-hdrdom: btinternet.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-GB
In-Reply-To: <trfvu2$qhcd$1@dont-email.me>
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: <807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
X-Mailman-Original-References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
 by: Rob Cliffe - Fri, 3 Feb 2023 15:44 UTC

On 02/02/2023 09:31, Muttley@dastardlyhq.com wrote:
> On Wed, 1 Feb 2023 18:28:04 +0100
> "Peter J. Holzer" <hjp-python@hjp.at> wrote:
>> --b2nljkb3mdefsdhx
>> Content-Type: text/plain; charset=us-ascii
>> Content-Disposition: inline
>> Content-Transfer-Encoding: quoted-printable
>>
>> On 2023-02-01 09:00:39 -0000, Muttley@dastardlyhq.com wrote:
>>> Its not evolution, its revolution. Evolution retains old functionality.
>> Tell a penguin that it can fly :-)
> Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
> their wings and fall out the tree, it happened gradually. Python2 syntax
> could have been retained for X versions of 3 just as C++ keeps old stuff
> until its eventually deprecated them removed.
Yeah?  So what would this do:
    print ()
In Python 2 this prints an empty tuple.
In Python 3 this is a call to the print function with no arguments,
which prints a blank line.
You can't have it both ways.
In any case, supporting two different syntaxes simultaneously would be
messy and difficult to maintain.
Better a clean break, with Python 2 support continuing for a long time
(as it was).
Best wishes
Rob Cliffe

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ros...@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Tue, 7 Feb 2023 19:15:14 +1100
Lines: 55
Message-ID: <mailman.1778.1675757728.20444.python-list@python.org>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
<CAPTjJmr56ZYp0g30u9Eyd8i=XRp6if4Unttw_ZQpg25yqzYF5A@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de dCWGJUvxxHIvqSrUpE5V2gWVu24rqgU7Aw+e0qXYxR1Q==
Return-Path: <rosuav@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=DUYCwohm;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.009
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'argument': 0.04; '2023':
0.07; 'happened': 0.07; 'string': 0.07; 'text/plain;': 0.07;
':-)': 0.09; 'blank': 0.09; 'prints': 0.09; 'import': 0.15;
'syntax': 0.15; '__future__': 0.16; 'c++': 0.16; 'chrisa': 0.16;
'discipline': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris
angelico': 0.16; 'gradually.': 0.16; 'received:209.85.208.42':
0.16; 'received:mail-ed1-f42.google.com': 0.16; 'removed.': 0.16;
'top,': 0.16; 'tree,': 0.16; 'ways.': 0.16; 'wrote:': 0.16;
'python': 0.16; 'subject:question': 0.17; 'feb': 0.17; "can't":
0.17; 'tue,': 0.19; 'to:addr:python-list': 0.20; 'way.': 0.22;
'version': 0.23; 'code': 0.23; 'run': 0.23; 'idea': 0.24;
'anything': 0.25; 'skip:- 10': 0.25; 'stuff': 0.25; 'function':
0.27; 'old': 0.27; '>>>': 0.28; 'putting': 0.31; "doesn't": 0.32;
'empty': 0.32; 'python-list': 0.32; "wouldn't": 0.32; 'message-
id:@mail.gmail.com': 0.32; 'but': 0.32; 'there': 0.33; 'someone':
0.34; "didn't": 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'definitely': 0.35; 'following':
0.35; 'from:addr:gmail.com': 0.35; "it's": 0.37;
'received:209.85': 0.37; 'this.': 0.37; 'way': 0.38; 'could':
0.38; 'means': 0.38; 'received:209': 0.39; 'two': 0.39; 'single':
0.39; 'received:209.85.208': 0.39; 'break': 0.39; 'wed,': 0.39;
'difficult': 0.40; 'both': 0.40; 'something': 0.40; 'should':
0.40; 'tell': 0.60; 'inline': 0.61; 'morning,': 0.61; "there's":
0.61; 'gives': 0.62; 'pass': 0.64; 'full': 0.64; 'your': 0.64;
'back': 0.67; '[1]': 0.67; 'obvious': 0.69; 'solutions': 0.70;
'breaking': 0.78; 'points': 0.84; '1.3': 0.84; 'eventually': 0.84;
'retains': 0.84; 'revolution.': 0.84; 'rob': 0.84; 'strings':
0.84; 'retained': 0.91; 'fall': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=7GCz8t2ZT8ZIZbxlhkaNvE9DJNA2KujFaunMSWCqivw=;
b=DUYCwohmFxPzS6qyAa31a1Yctcb3olSARwRQt3Y7Fq/toUAcOHrWHc5AON00K+0lG3
b9rX3ySN8l40BOAnwaXhF6NYaT4oAT6hisPM3xo4N9EZlj2s3Ie20TFcoN/vdttXJSLh
nWq7ZILMluzIhFzEJDk2vDwjKz7JHiy4xK9Z/Zw3pUOAsq0nJFLrJaIm6wUwkyJrkNCG
0NBva38Yy12UA1N6y7XKYrHspzVDPoXAWYm2KnE+fBJR2mYkImZKIXUPmysyLk+OaA82
1HjcbtOCylTFpVzoOMX1C4Jp+o21Ujix0XEaKbu/7OPdRyH+4HFPkcnBsi5pEYHiruPK
emEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=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=7GCz8t2ZT8ZIZbxlhkaNvE9DJNA2KujFaunMSWCqivw=;
b=Kkqv6IhDlfRlQTRUSehb0gT6m7gnVGhBXiYJmyM9hqT5LYMuR8R1ERJQ2meLC7IhqC
hRnckPOQdWGXgTZIOuFQczyflxjZ+x+kurSxgjuySR9dsbqFnZwjlnyRNUW8EB2SJAg/
YiojL1sdQaPuAGk1ENpWARt+wCDgib7BHA5CJZ46BVgT8edj0iGsv0Ap3SSOX5H8BTl4
mSSmXO004HSehThwKzwFFsndljqxv4sm5IWGks2Ugl6Z4WUTaPb4k8soEN7aDZ46YsE6
0qBvAoarKaUJ0oghpZBi5FJJxrQTVcxJhIy/9M1P5JqS3ChTIs7IFJ2IVcEp0wlN9pNm
+XlQ==
X-Gm-Message-State: AO0yUKXgcVWtSYQkNKt5UABp9vJ98sSb0ce8xdxtT6TK8HRRRwZX22DB
v3ab0vVP5jTTb9bujaKArOm0HaDTN2mBWubWK/V+N/TM
X-Google-Smtp-Source: AK7set9cM/Jn1dDQ5ARaOd97wLy9ucrf20t8Zgv98ICJs2+WtAaNeOUrSYMA23A1kQs1hCsVkHiQfopaBC3ZKmtm1G8=
X-Received: by 2002:a50:a455:0:b0:48e:b978:cf63 with SMTP id
v21-20020a50a455000000b0048eb978cf63mr547051edb.57.1675757726214; Tue, 07 Feb
2023 00:15:26 -0800 (PST)
In-Reply-To: <807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
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: <CAPTjJmr56ZYp0g30u9Eyd8i=XRp6if4Unttw_ZQpg25yqzYF5A@mail.gmail.com>
X-Mailman-Original-References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<k3r3rgF5l1hU1@mid.individual.net> <tramnp$3ohlk$1@dont-email.me>
<k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me>
<20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
 by: Chris Angelico - Tue, 7 Feb 2023 08:15 UTC

On Tue, 7 Feb 2023 at 18:49, Rob Cliffe via Python-list
<python-list@python.org> wrote:
>
>
>
> On 02/02/2023 09:31, Muttley@dastardlyhq.com wrote:
> > On Wed, 1 Feb 2023 18:28:04 +0100
> > "Peter J. Holzer" <hjp-python@hjp.at> wrote:
> >> --b2nljkb3mdefsdhx
> >> Content-Type: text/plain; charset=us-ascii
> >> Content-Disposition: inline
> >> Content-Transfer-Encoding: quoted-printable
> >>
> >> On 2023-02-01 09:00:39 -0000, Muttley@dastardlyhq.com wrote:
> >>> Its not evolution, its revolution. Evolution retains old functionality.
> >> Tell a penguin that it can fly :-)
> > Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
> > their wings and fall out the tree, it happened gradually. Python2 syntax
> > could have been retained for X versions of 3 just as C++ keeps old stuff
> > until its eventually deprecated them removed.
> Yeah? So what would this do:
> print ()
> In Python 2 this prints an empty tuple.
> In Python 3 this is a call to the print function with no arguments,
> which prints a blank line.
> You can't have it both ways.
> In any case, supporting two different syntaxes simultaneously would be
> messy and difficult to maintain.

There are two solutions to this. The most obvious is "from __future__
import print_function", which gives you the full power and flexibility
of Py3 in anything back as far as 2.6; the other is to always pass a
single string argument to print:

print("")
print("spam %d ham %d" % (spam, ham))

This will work in pretty much ANY version of Python [1] and doesn't
require any sort of per-module configuration.

The idea that old syntax should be retained is only part of the story.
While it's definitely important to not break old code unnecessarily,
it is far more important to ensure that there's *some way* to write
code that works across multiple versions. That's what we have here:
even with the breaking changes, there was usually a way to make your
code run identically on multiple versions. Sometimes this means a
compatibility shim at the top, like "try: raw_input; except NameError:
raw_input = input", and sometimes it means following a discipline like
putting b"..." for all strings that need to be bytes. But there always
needs to be a way.

ChrisA

[1] This is the part where someone points out to me that it wouldn't
work in Python 1.3 or something

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: rob.cli...@btinternet.com (Rob Cliffe)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Tue, 7 Feb 2023 23:56:39 +0000
Lines: 62
Message-ID: <mailman.1788.1675821113.20444.python-list@python.org>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
<CAPTjJmr56ZYp0g30u9Eyd8i=XRp6if4Unttw_ZQpg25yqzYF5A@mail.gmail.com>
<ada9f42e-3328-9ca7-ffd3-946c8de4d8fc@btinternet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 4++slsXa8O0uULTDYjOSnwiVCVIHHxmHNq2nn6rNTSHg==
Return-Path: <rob.cliffe@btinternet.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=btinternet.com header.i=@btinternet.com header.b=V2QezrAI;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.013
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'argument': 0.04; '2023':
0.07; 'happened': 0.07; 'string': 0.07; 'text/plain;': 0.07;
':-)': 0.09; 'angelico': 0.09; 'blank': 0.09; 'prints': 0.09;
'import': 0.15; 'syntax': 0.15; '>>>>': 0.16; '>>>>>': 0.16;
'__future__': 0.16; 'c++': 0.16; 'chrisa': 0.16; 'discipline':
0.16; 'gradually.': 0.16; 'indeed': 0.16; 'option.': 0.16;
'removed.': 0.16; 'top,': 0.16; 'tree,': 0.16; 'ways.': 0.16;
'wrote:': 0.16; 'python': 0.16; 'subject:question': 0.17; 'feb':
0.17; "can't": 0.17; 'tue,': 0.19; 'to:addr:python-list': 0.20;
'way.': 0.22; 'version': 0.23; 'code': 0.23; 'run': 0.23; 'idea':
0.24; 'anything': 0.25; 'skip:- 10': 0.25; 'stuff': 0.25;
'function': 0.27; 'old': 0.27; '>>>': 0.28; 'chris': 0.28; 'header
:User-Agent:1': 0.30; 'putting': 0.31; "doesn't": 0.32; 'empty':
0.32; 'python-list': 0.32; "wouldn't": 0.32; 'received:192.168.1':
0.32; 'but': 0.32; 'there': 0.33; 'someone': 0.34; "didn't": 0.34;
'header:In-Reply-To:1': 0.34; 'definitely': 0.35; 'following':
0.35; "it's": 0.37; 'this.': 0.37; 'received:192.168': 0.37;
'way': 0.38; 'could': 0.38; 'means': 0.38; 'two': 0.39; 'quite':
0.39; 'single': 0.39; 'break': 0.39; 'wed,': 0.39; 'difficult':
0.40; 'received:213': 0.40; 'wishes': 0.40; 'both': 0.40;
'something': 0.40; 'should': 0.40; 'tell': 0.60; 'best': 0.61;
'inline': 0.61; 'morning,': 0.61; "there's": 0.61; 'gives': 0.62;
'pass': 0.64; 'full': 0.64; 'your': 0.64; 'back': 0.67; '[1]':
0.67; 'right': 0.68; 'obvious': 0.69; 'solutions': 0.70;
'breaking': 0.78; 'points': 0.84; '1.3': 0.84; '2-3': 0.84;
'eventually': 0.84; 'pointing': 0.84; 'retains': 0.84;
'revolution.': 0.84; 'rob': 0.84; 'strings': 0.84; 'retained':
0.91; 'fall': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com;
s=btmx201904; t=1675814216;
bh=Yp+T98NTcFeOl7XsXCz2E15PamcZeQ5KDuwKHeQJYeE=;
h=Message-ID:Date:MIME-Version:Subject:To:References:From:In-Reply-To;
b=V2QezrAI4x9VKZverSV6fUJOLhwQzDCs6+3j9ooo+jkwkKc4J9LaknFzpUwCfCbyuTl5vmeCGLI0pZWuz6P13ulszl0QXI/ChHwLurWrXUok2GHS8Re3G9A9vabP17De3jisFS6vSerVfevTcX5bL1pH5Ke45iOzV+7jpH7tJmo7/9595aLpgAhww1l04+WMqEmk+Jr0JPdCVSaxVIGPAVbD3lguZRqONddnfmc2vjB9Cmek/Z7wedXsI1p3IsCVHyxSQVuZGqdNha2GqXDo97Lv8SIAfifSfsjz08vCEcgBkXmZMUeg9MZG9XiXbbaI6Kxnuf1/lvJ0dmlWUsOzKg==
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=rob.cliffe@btinternet.com;
bimi=skipped
X-SNCR-Rigid: 62E573CC1C071FA5
X-Originating-IP: [217.39.35.195]
X-OWM-Source-IP: 217.39.35.195 (GB)
X-OWM-Env-Sender: rob.cliffe@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrudegledgtdegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheptfhosgcuvehlihhffhgvuceorhhosgdrtghlihhffhgvsegsthhinhhtvghrnhgvthdrtghomheqnecuggftrfgrthhtvghrnhepudeiffelleetudekjefgfeekieekteevgfehffdtieeluefhueejveevffffgedvnecukfhppedvudejrdefledrfeehrdduleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddvtdegngdpihhnvghtpedvudejrdefledrfeehrdduleehpdhmrghilhhfrhhomheprhhosgdrtghlihhffhgvsegsthhinhhtvghrnhgvthdrtghomhdpnhgspghrtghpthhtohepvddprhgtphhtthhopehphihthhhonhdqlhhishhtsehphihthhhonhdrohhrghdprhgtphhtthhopehrohhsuhgrvhesghhmrghilhdrtghomh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-SNCR-hdrdom: btinternet.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-GB
In-Reply-To: <CAPTjJmr56ZYp0g30u9Eyd8i=XRp6if4Unttw_ZQpg25yqzYF5A@mail.gmail.com>
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: <ada9f42e-3328-9ca7-ffd3-946c8de4d8fc@btinternet.com>
X-Mailman-Original-References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
<CAPTjJmr56ZYp0g30u9Eyd8i=XRp6if4Unttw_ZQpg25yqzYF5A@mail.gmail.com>
 by: Rob Cliffe - Tue, 7 Feb 2023 23:56 UTC

On 07/02/2023 08:15, Chris Angelico wrote:
> On Tue, 7 Feb 2023 at 18:49, Rob Cliffe via Python-list
> <python-list@python.org> wrote:
>>
>>
>> On 02/02/2023 09:31, Muttley@dastardlyhq.com wrote:
>>> On Wed, 1 Feb 2023 18:28:04 +0100
>>> "Peter J. Holzer" <hjp-python@hjp.at> wrote:
>>>> --b2nljkb3mdefsdhx
>>>> Content-Type: text/plain; charset=us-ascii
>>>> Content-Disposition: inline
>>>> Content-Transfer-Encoding: quoted-printable
>>>>
>>>> On 2023-02-01 09:00:39 -0000, Muttley@dastardlyhq.com wrote:
>>>>> Its not evolution, its revolution. Evolution retains old functionality.
>>>> Tell a penguin that it can fly :-)
>>> Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
>>> their wings and fall out the tree, it happened gradually. Python2 syntax
>>> could have been retained for X versions of 3 just as C++ keeps old stuff
>>> until its eventually deprecated them removed.
>> Yeah? So what would this do:
>> print ()
>> In Python 2 this prints an empty tuple.
>> In Python 3 this is a call to the print function with no arguments,
>> which prints a blank line.
>> You can't have it both ways.
>> In any case, supporting two different syntaxes simultaneously would be
>> messy and difficult to maintain.
> There are two solutions to this. The most obvious is "from __future__
> import print_function", which gives you the full power and flexibility
> of Py3 in anything back as far as 2.6; the other is to always pass a
> single string argument to print:
>
> print("")
> print("spam %d ham %d" % (spam, ham))
>
> This will work in pretty much ANY version of Python [1] and doesn't
> require any sort of per-module configuration.
>
> The idea that old syntax should be retained is only part of the story.
> While it's definitely important to not break old code unnecessarily,
> it is far more important to ensure that there's *some way* to write
> code that works across multiple versions. That's what we have here:
> even with the breaking changes, there was usually a way to make your
> code run identically on multiple versions. Sometimes this means a
> compatibility shim at the top, like "try: raw_input; except NameError:
> raw_input = input", and sometimes it means following a discipline like
> putting b"..." for all strings that need to be bytes. But there always
> needs to be a way.
>
> ChrisA
>
> [1] This is the part where someone points out to me that it wouldn't
> work in Python 1.3 or something
You are quite right Chris, and indeed I have used both solutions in my
own code to keep 2-3 compatibility.
I was just pointing out that continuing to support Python 2 syntax in
Python 3 was not an option.
Best wishes
Rob Cliffe

RE: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: robbieme...@hotmail.com (Robbie mezazem)
Newsgroups: comp.lang.python
Subject: RE: evaluation question
Date: Wed, 8 Feb 2023 14:29:38 +0000
Lines: 81
Message-ID: <mailman.1793.1675866583.20444.python-list@python.org>
References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
<CAPTjJmr56ZYp0g30u9Eyd8i=XRp6if4Unttw_ZQpg25yqzYF5A@mail.gmail.com>
<ada9f42e-3328-9ca7-ffd3-946c8de4d8fc@btinternet.com>
<BYAPR04MB50629525DB0154DC5CCCB543BFD89@BYAPR04MB5062.namprd04.prod.outlook.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de lnoceXTIs1SBpaULobxgxwqmMDoovPiGw0yPO9DSp2Dg==
Return-Path: <robbiemezazem@hotmail.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=hotmail.com header.i=@hotmail.com header.b=kK3s58Cm;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.012
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'argument': 0.04;
'&gt;&gt;&gt;': 0.07; '2023': 0.07; 'happened': 0.07; 'string':
0.07; 'text/plain;': 0.07; ':-)': 0.09; 'angelico': 0.09; 'blank':
0.09; 'prints': 0.09; '&gt;': 0.14; 'import': 0.15; 'url:mailman':
0.15; 'syntax': 0.15; '6:54': 0.16; '>>>>': 0.16; '>>>>>': 0.16;
'__future__': 0.16; 'c++': 0.16; 'chrisa': 0.16; 'discipline':
0.16; 'gradually.': 0.16; 'indeed': 0.16; 'option.': 0.16;
'removed.': 0.16; 'top,': 0.16; 'tree,': 0.16; 'ways.': 0.16;
'wrote:': 0.16; 'python': 0.16; 'subject:question': 0.17; 'feb':
0.17; "can't": 0.17; 'tue,': 0.19; 'to:addr:python-list': 0.20;
'way.': 0.22; 'version': 0.23; 'code': 0.23; 'run': 0.23; 'idea':
0.24; 'to:name:python-list@python.org': 0.24; 'anything': 0.25;
'skip:- 10': 0.25; 'url-ip:188.166.95.178/32': 0.25; 'url-
ip:188.166.95/24': 0.25; 'stuff': 0.25; 'url:listinfo': 0.25;
'url-ip:188.166/16': 0.25; 'function': 0.27; 'old': 0.27; '>>>':
0.28; 'chris': 0.28; 'email addr:python.org&gt;': 0.28; 'putting':
0.31; 'url-ip:188/8': 0.31; "doesn't": 0.32; 'question': 0.32;
'empty': 0.32; 'python-list': 0.32; "wouldn't": 0.32; 'but': 0.32;
'there': 0.33; 'windows': 0.34; 'someone': 0.34; "didn't": 0.34;
'header:In-Reply-To:1': 0.34; 'definitely': 0.35; 'following':
0.35; "it's": 0.37; 'this.': 0.37; 'url-ip:13.107/16': 0.38;
'way': 0.38; 'could': 0.38; 'means': 0.38; 'two': 0.39;
'url:550986': 0.39; 'url:fwlink': 0.39; 'url:linkid': 0.39;
'quite': 0.39; 'single': 0.39; 'break': 0.39; 'evaluation': 0.39;
'wed,': 0.39; 'difficult': 0.40; 'wishes': 0.40; 'both': 0.40;
'something': 0.40; 'should': 0.40; 'tell': 0.60; 'best': 0.61;
'inline': 0.61; 'morning,': 0.61; "there's": 0.61; 'from:': 0.62;
'to:': 0.62; 'gives': 0.62; 'skip:b 10': 0.63; 'pass': 0.64;
'full': 0.64; 're:': 0.64; 'your': 0.64; 'back': 0.67; '[1]':
0.67; 'url-ip:104.18/16': 0.67; 'right': 0.68; 'obvious': 0.69;
'solutions': 0.70; 'breaking': 0.78; 'sent:': 0.78; 'points':
0.84; '1.3': 0.84; '2-3': 0.84; 'email name:&lt;python-list':
0.84; 'eventually': 0.84; 'pointing': 0.84; 'retains': 0.84;
'revolution.': 0.84; 'rob': 0.84; 'strings': 0.84; 'retained':
0.91; 'fall': 0.95
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=i/3A5CCj6LPwkurnHPsVn8Tcu8QP0TjcQVjh6TUTv2XnJuBQ+Q1knI8eYBVTDfVIF7zt/f4ARdLFMUFG33Zh5yKZpGdBN+oRXGLyf4PYfZHEQaDKmInAPN8YPjCy9ZRucbW/zLaDJ5zJCtjNGdLVn3AiXKavRW//5XBe4Q0gfAOYSyd/4MYAz+oxUPFhiKbvv6xkXAYr+ge2p628OwHTMNlXWc7EwqDTWQaC9Yn1BHEkYP4hSwwzsvazqbBaMk2aLStg8JD19rj9ex2rLWzYmuJDumvXLhYmSJXB9NgsA5Pfxhce2VOMWsKRty8tCd6e3I4JuJg/Q9m/o14PeoSLBQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=y9i40n9rvuh6TvlaFbIDj8+CtCyTX4y6bmfGEIg7YME=;
b=mPboM/PGZRIzefDtkHRj+DxrsarcS5tizQdvJECOVq8W6aC3F6spQlOalBKtpY6/0oiXoNg2zwTaNXZjBumuO6DC+BHf5RVJg7oqQyJf8LbeUX5zO52iwv2vhreDBbdkx+C28snmYnnUuG2qdZxJHVAvYTm1W1A0RDx+1gfOVa8V+4+quX9gfYa4mEthnLuNArZy5M2mMQk5tF9I5St8RfkVM4mMTPK1jCWRMd4RQH3TYRU9rpBi8niwoyUjSXXt6BoRf8AB7qGBDhknWvRGphPEbtZ9W6Ii+zCK+cp9J6YJEU6wPNvAXwWKnndWMHWOmUBZyP6+Kk5xOq0SUnnnKw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
s=selector1;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=y9i40n9rvuh6TvlaFbIDj8+CtCyTX4y6bmfGEIg7YME=;
b=kK3s58Cm8JGW8L7MtzZFTVB8NlxM+mxUOv557sUaIW5u+QQ+u/rDr0Pg43WI0jFYBvp+xFYkpovg9oVLmOurieW4JzvlFjMSrFtlgpxRNThV784HWQ2MCK1+xybtyjdRJ/V9CwKwKLnjzYojryo815cIa0WInNkuwwuEhksigfycss2YPjSrdX40aE02+SDc7e/qFRfxq3TFLkx/utTXyKHv+FO7GANwkyVg8+CefdjURea3goXdhKxU4qygB8eVXjsMNtoDwxdNtxScJVgukH9fud8jc+fEAWWZ+L75Fi6onAADsBM3M7e/j7upUH5o7RX90D9suj/vCqndG24yEQ==
Thread-Topic: evaluation question
Thread-Index: AQHZMrH1hQ8FOsY9RUyPdA79YXvOjq6zv/cAgAJbvDuAAE24gIAAwlZmgAB8GICAASAgk4AAYfaAgAAV1YCAAR+oK4AAAEQAgAGYVPSAAW9WAIAFy94AgAEHB4CAAPPGUg==
In-Reply-To: <ada9f42e-3328-9ca7-ffd3-946c8de4d8fc@btinternet.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tmn: [gErjtodSOea7IVstLn4e37toy/LhNtQk]
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BYAPR04MB5062:EE_|SN4PR04MB8349:EE_
x-ms-office365-filtering-correlation-id: 044ee5ae-c5e6-481a-23d5-08db09e0e8d2
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: cMohmbsFdxD2Te8dMS3jiaUk1PZTZgzINXZYJH97CoXfbIl8RS01zH73ATfH9A6qWRYxm92v/MDrDH5hw8b83RcEGg7h/kfNdyzgLfJC40FuNJjBrCJczVderq9kuER9HHk9d17K9102pufJ6K1akdIhYp0wO1k3wpAAaHWd+zi3pR0CBuS2CvjR4hgr6LjnGa9bjP1rUPKhNakblJjeI71sxTELjCyuF2g3J3FehAJZekkn6lKRIECeLQzfM4gn7wLtQuirx/XE5OYlbGPMjQXUm6yYQQ+oFM/E06XRTVkwQZc8XbSEncANxMrhx2nWRqYC9Ok6l6cfVR6z/4xtdzycY9PzzyG5+J8xNYC3e5cyu/8kjFbjqFyGkgi3GbX5zywcq6x8GFiRasCQZ3Rjjl1fWeFYQxfL9kv/EtXSKWJ0LDLe9Q9p+aipTE5AUjrPkSUQ/4VKI8dDbnluocTBSoBHnRJ6AkKwXnMZS6zYfgR4Voh7/dpiBBQ7cHP/PkWuHm52zLUBGajU8BdBb+6OzLX6Rxnj06GbVwjdroWHZulkUdUGwITPP9acPAyuISm34QDXEtZhVqyRsY8eiOKKOie9g2/MNbyfaQYBYTbsFrlmBAPU2DFGNFH4HUiEtrlm3601WlHDX029Q0ofKcNxzuk3EhY9LGfarzeO0beCOxz0gEFdJRwkpDvzh6sJqJ0Infk9JA637sltP9SqWsJ33Q==
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: fJhQ2GdkpphaAOoNSeK273XV2y9A5VG6FCtAZ+f8i4o+f4wI5AYdAGStl/X4
2GridSN5xa8/KHCSB2FS+J7tRkpbbYAIoI80sZ/8u8ksyE+uRA8pqEZmmlJi
Xa+9f8prF0WW2zAqT8lB7TE/+4zjufQPIth74yr3frTBu5I13gXuRe6AjdhC
UR+lnZ77QQ8Dh83nBz7/TKhloW35M/oVgUS8iHDChiz4MGmNj1JccFfAtue8
u0eJzc6KdobxngFkp3/9SmqRWdXi6dQeaJ5t0SvMG0KDP4cr5TkfEBj1DZWj
QUDn/NN+adACk0S7FNSHcuPvUS8V/PGBGzLLe9JgEdTC9Ds5RL6qBvFbF3AW
ldc3RobtqjFQ2N7aAlulHsSq0TAQdIIiYb/+AhW6TRHBwSXsmia2zbYXIY7d
3l8XyiRMum1zVPJwdQx6Wfv9CZe/D5H9weqQxSLbA6u/pDGvbyMrxduCy7s3
ZRc/eYXwMENPDNUan8BEp6ou78Dwfs9vcsP5gU65JKYNptUZtyaSuZf51YZC
YRi1GH37CI79jn89acNb6FbKn1hecnvx8TkUde55dDOiF2ybU7qS/gX3G+/8
36Sh1pLAg2L0B8bXs7y7cebR0ARzcPosR6gHLF/Ve1FJxdqJLMb47Rd91fBJ
omwx8zrTa2iuXSQM8aSs5WnKqzc0NM3+eSaM6YtIeoMhSfXMnWMTsEhon9d9
T5ktcB3Hljq0w3fjCsk90uNtGIJZLCqy7YzIf5IHg6p0C+wwgLY6dSFQkzCD
/yPnheOW5NAH0c7BZr64ieqqgavx957QNPXCx1ujduuLQQ6yJ34cH4VAV0Wc
qNr5vql2LD2aQTTAVwg9hMqWJh/xln48F3+i3hs3xMAOpTzJMwH0/o8GzptE
5IlhWruc9UWnjIrgcAYtkQyv/vtW28f69K/e5mqThhPEkoRYND2WzhsOcwSo
/64edhCKFr+qQxsRWSwaEH/iS3n2rhGcBteKcNSf7K7W4avBv48yGHccubjv
h5tL/8W9bN5Xt2R6nD0Cp2IV0PWPkRYZu7h4iH+0V4ZW4DbI4rV/zosKKvZu
FjolBsERz0DNW6gwPCvYPAGYQ1tN37V30bRXi9s6NXtvQRZBX3DHhwS4uW8f
tvwQpeIvvvDM1mxHIXBEsgOhUf5huSiMxyCNn3c3JYQSe9qLnFbqDUGzDYMd
s94Klj9aq7GJwbgT3wO4IIxlmzrbEl90wJmbVaCkc5GEzeE4KNsQB0R3/RP6
xhCql4Gr9jY6LpH6MeF/tgmskxm+Q1NxHlAgYJ8vtLQNBqjFeY4ETX7etHrZ
+GI=
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-edb50.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BYAPR04MB5062.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 044ee5ae-c5e6-481a-23d5-08db09e0e8d2
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2023 14:29:38.6311 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR04MB8349
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: <BYAPR04MB50629525DB0154DC5CCCB543BFD89@BYAPR04MB5062.namprd04.prod.outlook.com>
X-Mailman-Original-References: <slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me> <k3r3rgF5l1hU1@mid.individual.net>
<tramnp$3ohlk$1@dont-email.me> <k3tkqhFhgf7U1@mid.individual.net>
<062f691c-d4b7-09f9-c949-a14ef18119f7@DancesWithMice.info>
<mailman.1733.1675210672.20444.python-list@python.org>
<trd9nn$94gv$1@dont-email.me> <20230201172804.whx4lqlngs4qnkic@hjp.at>
<mailman.1741.1675273066.20444.python-list@python.org>
<trfvu2$qhcd$1@dont-email.me>
<807535a2-dd1e-dd33-e6a6-cf17264ab955@btinternet.com>
<CAPTjJmr56ZYp0g30u9Eyd8i=XRp6if4Unttw_ZQpg25yqzYF5A@mail.gmail.com>
<ada9f42e-3328-9ca7-ffd3-946c8de4d8fc@btinternet.com>
 by: Robbie mezazem - Wed, 8 Feb 2023 14:29 UTC

Ok I understand

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Rob Cliffe via Python-list<mailto:python-list@python.org>
Sent: Tuesday, February 7, 2023 6:54 PM
To: Chris Angelico<mailto:rosuav@gmail.com>; python-list@python.org<mailto:python-list@python.org>
Subject: Re: evaluation question

On 07/02/2023 08:15, Chris Angelico wrote:
> On Tue, 7 Feb 2023 at 18:49, Rob Cliffe via Python-list
> <python-list@python.org> wrote:
>>
>>
>> On 02/02/2023 09:31, Muttley@dastardlyhq.com wrote:
>>> On Wed, 1 Feb 2023 18:28:04 +0100
>>> "Peter J. Holzer" <hjp-python@hjp.at> wrote:
>>>> --b2nljkb3mdefsdhx
>>>> Content-Type: text/plain; charset=us-ascii
>>>> Content-Disposition: inline
>>>> Content-Transfer-Encoding: quoted-printable
>>>>
>>>> On 2023-02-01 09:00:39 -0000, Muttley@dastardlyhq.com wrote:
>>>>> Its not evolution, its revolution. Evolution retains old functionality.
>>>> Tell a penguin that it can fly :-)
>>> Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
>>> their wings and fall out the tree, it happened gradually. Python2 syntax
>>> could have been retained for X versions of 3 just as C++ keeps old stuff
>>> until its eventually deprecated them removed.
>> Yeah? So what would this do:
>> print ()
>> In Python 2 this prints an empty tuple.
>> In Python 3 this is a call to the print function with no arguments,
>> which prints a blank line.
>> You can't have it both ways.
>> In any case, supporting two different syntaxes simultaneously would be
>> messy and difficult to maintain.
> There are two solutions to this. The most obvious is "from __future__
> import print_function", which gives you the full power and flexibility
> of Py3 in anything back as far as 2.6; the other is to always pass a
> single string argument to print:
>
> print("")
> print("spam %d ham %d" % (spam, ham))
>
> This will work in pretty much ANY version of Python [1] and doesn't
> require any sort of per-module configuration.
>
> The idea that old syntax should be retained is only part of the story.
> While it's definitely important to not break old code unnecessarily,
> it is far more important to ensure that there's *some way* to write
> code that works across multiple versions. That's what we have here:
> even with the breaking changes, there was usually a way to make your
> code run identically on multiple versions. Sometimes this means a
> compatibility shim at the top, like "try: raw_input; except NameError:
> raw_input = input", and sometimes it means following a discipline like
> putting b"..." for all strings that need to be bytes. But there always
> needs to be a way.
>
> ChrisA
>
> [1] This is the part where someone points out to me that it wouldn't
> work in Python 1.3 or something
You are quite right Chris, and indeed I have used both solutions in my
own code to keep 2-3 compatibility.
I was just pointing out that continuing to support Python 2 syntax in
Python 3 was not an option.
Best wishes
Rob Cliffe
--
https://mail.python.org/mailman/listinfo/python-list

Re: evaluation question

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: pyt...@bladeshadow.org (Python)
Newsgroups: comp.lang.python
Subject: Re: evaluation question
Date: Fri, 10 Feb 2023 13:59:07 -0600
Lines: 51
Message-ID: <mailman.1797.1676061325.20444.python-list@python.org>
References: <tr0uki$1p2c5$1@dont-email.me> <Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
<20230210195907.GC4979@bladeshadow.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-Trace: news.uni-berlin.de Ka9jHJtnACvWR2rBg/AE/g9dyW+eU5lfHc2Qt/Bi5EMQ==
Return-Path: <python@bladeshadow.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.005
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'indicate': 0.05;
'parameter': 0.05; '"python': 0.07; '2023': 0.07; 'e.g.': 0.07;
'explicitly': 0.07; 'string': 0.07; 'can,': 0.09; 'converting':
0.09; 'fact,': 0.09; 'from:addr:python': 0.09; 'something,': 0.09;
'typically': 0.09; '(i.e.,': 0.16; 'bits': 0.16; 'exception.':
0.16; 'from:name:python': 0.16; 'perl,': 0.16; 'sort,': 0.16;
'things:': 0.16; 'void': 0.16; 'wrote:': 0.16; 'python': 0.16;
'subject:question': 0.17; 'instead': 0.17; 'figure': 0.19;
'to:addr:python-list': 0.20; 'language': 0.21; 'languages': 0.22;
'returns': 0.22; 'command': 0.23; 'anything': 0.25; 'examples':
0.25; 'register': 0.25; 'function': 0.27; 'header:User-Agent:1':
0.30; 'raise': 0.31; "doesn't": 0.32; 'keyword': 0.32; 'but':
0.32; 'there': 0.33; 'printing': 0.34; 'header:In-Reply-To:1':
0.34; 'functions': 0.36; 'mon,': 0.36; 'those': 0.36; "it's":
0.37; 'this.': 0.37; 'two': 0.39; 'this,': 0.39; 'use': 0.39;
'done.': 0.40; 'something': 0.40; 'want': 0.40; 'tell': 0.60;
'provide': 0.60; 'simply': 0.63; 'between': 0.63; 'updating':
0.64; 'username': 0.64; 'similar': 0.65; 'types': 0.67; 'time,':
0.67; 'per': 0.68; 'success': 0.73; 'yourself': 0.75;
'languages,': 0.76; 'returned': 0.81; 'appearance': 0.84;
'distinction': 0.84; 'failure,': 0.84; 'procedures': 0.84;
'received:72': 0.84; 'of:': 0.91; 'screen,': 0.93
Content-Disposition: inline
In-Reply-To: <tr83bf$381e1$1@dont-email.me>
User-Agent: Mutt/1.12.2 (2019-09-21)
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: <20230210195907.GC4979@bladeshadow.org>
X-Mailman-Original-References: <tr0uki$1p2c5$1@dont-email.me>
<Ko8BL.57228$jiuc.57141@fx44.iad>
<slrnttdoeq.s20.elvis-85792@notatla.org.uk>
<bd4ffe68-8c09-b716-9f74-aa2d6abf1705@tompassin.net>
<mailman.1717.1675054683.20444.python-list@python.org>
<tr83bf$381e1$1@dont-email.me>
 by: Python - Fri, 10 Feb 2023 19:59 UTC

On Mon, Jan 30, 2023 at 09:41:03AM -0000, Muttley@dastardlyhq.com wrote:
> >Because print() returns nothing (i.e., the statement x is None is True).
>
> I don't understand this. What was the point of the upheaval of converting
> the print command in python 2 into a function in python 3 if as a function
> print() doesn't return anything useful? Surely even the length of the
> formatted string as per C's sprintf() function would be helpful?

Python is far from the only language that allows functions to return
nothing explicit. Statically typed languages typically use the void
keyword or something similar to indicate this, and dynamically typed
languages often just don't explicitly return anything. [Some
languages, like Perl, just implicitly return the value of the last
expression, or something of the sort, but some do not.] In Pascal, in
fact, there are two different types of subroutines to distinguish
between those things: functions return a value, and procedures do not.
Modern languages commonly don't provide this distinction because by
and large it is unnecessary.

Typically the reason NOT to return a value is that the function is
designed to DO something, rather than to calculate some value.
Examples might be updating the appearance of a UI widget, printing
some information to the screen, or twiddling some bits in a register
(i.e. in-place update of a value). They don't need to return anything
because the "output" is whatever was done. In some languages it might
be typical to return a status indicating success or failure, but in
many languages this is unnecessary; status may be returned via a
parameter provided for the purpose, or in many languages, success can
be assumed, whereas failure will raise an exception.

If it's the case that you simply want to know the length of the string
that will be printed, you can, rather than expecting the I/O function
to tell that to you, figure it out for yourself ahead of time, e.g.
instead of:

username = "John Smith"
job = "Python programmer"

# this doesn't work as desired
len = print(f"{username} has occupation {job}.")
print(len)
...

You would do this instead:

message = f"{username} has the occupation {job}."
message_length = len(message)
print(message)
print(message_length)
...


devel / comp.lang.python / Re: evaluation question

Pages:1234
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor