Deutsch   English   Français   Italiano  
<vajgnm$2qoj2$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Sebastian <sebastian@here.com.invalid>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Tue, 27 Aug 2024 03:21:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <vajgnm$2qoj2$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>   <va2vt0$3h3gj$1@dont-email.me> <va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me> <va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me> <va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me> <va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me> <va6rpa$c6bg$1@dont-email.me> <va6se9$cb8e$1@dont-email.me> <20240826083330.00004760@gmail.com> <vaises$2k7o6$2@dont-email.me> <20240826155113.000005ba@gmail.com>
Injection-Date: Tue, 27 Aug 2024 05:21:28 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c272b04af259c394792dde53c800b5b3";
	logging-data="2974306"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19H49AoQMiuJEU/c9Se6KT9ZZNZU1Zb/5s="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-18-amd64 (x86_64))
Cancel-Lock: sha1:yxAuMsK7+c4qfu2hXgkMdZ+RPDo=
Bytes: 2343

In comp.unix.programmer John Ames <commodorejohn@gmail.com> wrote:
> On Mon, 26 Aug 2024 21:35:25 -0000 (UTC)
> Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> 
>> I restore the redundancy by using ?#end? comments. E.g. a seriously
>> nontrivial case:
> 
> But even if that helps you organizationally, it doesn't resolve issues
> of the interpreter potentially mis-parsing things due to mismatches in
> tab/space factor between $EDITOR and the Python RTE, which is a truly
> ridiculous thing to have to be concerned about.
> 
> (Thing I'm curious about, but don't have a test environment to hand -
> does a blank line with a different indent level, in between lines of
> the same level, break out of the block? E.g., given the following:
> 
> if condition:
>     foo()
>     
>     bar()
> 
> baz()

The answer is that it doesn't matter if the blank line between foo() and
bar() contains four spaces. bar() will always be treated as being part
of the if statement's body.