Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Fri, 23 Aug 2024 08:29:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID:
References:
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<87il0lldf8.fsf@tudado.org>
<20240815182717.189@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 23 Aug 2024 10:29:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d1d06bc57401ad85605fe276b9a12115";
logging-data="907127"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TL3a0YeunRHjLxxdneT+A"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:iIc/e3xChWLGJjtIxWK11Tm2xqw=
Bytes: 2931
On Fri, 23 Aug 2024 09:19:06 +0200, David Brown wrote:
> On 23/08/2024 02:19, Lawrence D'Oliveiro wrote:
>
>> On Thu, 22 Aug 2024 12:47:16 +0200, David Brown wrote:
>>
>>> But it is quite happy with
>>> mixtures of tabs and spaces as long as the result after tab-to-space
>>> conversion is consistent with Python syntax.
>
> Mixtures of tabs and spaces are accepted without complaint.
I understood you to mean that different mixtures of tabs and spaces would
work, so long as they were equivalent to the same indentation under the 8-
spaces = 1 tab rule that you cited.
In fact there is no such equivalence rule. Tabs are tabs, and spaces are
spaces, and never the twain shall be interconvertible.
> (The incompatibilities between Python 2 and Python 3 are another pain in
> Python.
The fundamental problem was that Unicode was a mess in Python 2 that
needed to be cleaned up. Since they had no choice but to break backward
compatibility in that regard, they figured they would fix a few other
things while they were at it.