Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The Wright Bothers weren't the first to fly. They were just the first not to crash.


devel / comp.lang.python / Editing PEP-8, in particular "expected 2 blanks, found 1

SubjectAuthor
* Editing PEP-8, in particular "expected 2 blanks, found 1Kevin M. Wilson
`- Re: Editing PEP-8, in particular "expected 2 blanks, found 1Roy Hann

1
Editing PEP-8, in particular "expected 2 blanks, found 1

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: kevinmwi...@yahoo.com (Kevin M. Wilson)
Newsgroups: comp.lang.python
Subject: Editing PEP-8, in particular "expected 2 blanks, found 1
Date: Tue, 2 May 2023 20:39:35 +0000 (UTC)
Lines: 12
Message-ID: <mailman.14.1683062696.13552.python-list@python.org>
References: <1432055058.3122695.1683059975763.ref@mail.yahoo.com>
<1432055058.3122695.1683059975763@mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de m0qCNkVmZCVTQx9596MxPA/TUWNB6DPD2M/RorKOodMg==
Return-Path: <kevinmwilson1956@yahoo.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=yahoo.com header.i=@yahoo.com header.b=VoRgyPBJ;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: UNSURE 0.225
X-Spam-Level: **
X-Spam-Evidence: '*H*': 0.63; '*S*': 0.08; 'url:webmail': 0.05;
'folks,': 0.07; 'received:66.163.184': 0.16; 'subject:found':
0.16; 'to:addr:python-list': 0.20; 'code': 0.23; 'to:name:python-
list@python.org': 0.24; 'url:sig-email': 0.27; 'url:link': 0.30;
'received:66': 0.35; 'edit': 0.39; 'received:66.163': 0.39;
'received:consmr.mail.ne1.yahoo.com': 0.39; 'subject:PEP': 0.39;
'subject': 0.63; 'pass': 0.64; 'url:png': 0.66; 'url:net': 0.68;
'url:email-signature': 0.69; 'you.': 0.71; '"when': 0.84;
'styles': 0.84; 'you:': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1683059979; bh=h2Ks8YpoIzAAuQ7bYmxBJ6+rclFNJQ52kut8jiAcWoM=;
h=Date:From:To:Subject:References:From:Subject:Reply-To;
b=VoRgyPBJl6/QHZFxWFUC+YpcQNR7IH4de0iHb8Mq2WxaoycypAfatcZ/4awpHDgqu8hIX3oIIPYEfpHrmGyHKOhGNdw3XwXFADndHLykKMxHBDRkk7JB4ieI78rsQIVl3M8CkVIee58AkITXPpiwuRFQFGFggdiw8kRsHICjqEE9CDk5mbz58Tz9yG6beau+DCOdaD1rZW77hwSpeT3eo1YBMDIb3W+rD5tEb6mkLo7s3wGoyNnosNlzXbrFgHLBbgIHZRoWoeTRdCp8Vtw4zhkJlitTjGeMZdZrIxPTRoULjAgZOmIg6rK0265bQ3mN1JvVgRMArmnKJSM6ZvhaFw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1683059979; bh=FScnzj9kpMEgA2LFc1nqWtfeuuOrwGnvcKJ1VqqM9Mn=;
h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
b=ZMy9Luuj85GejDxj0KvYMArMn0zOK7zwiQ442IcT5Sa2r/4ZdXziHyiC1tLLyPNSlAHYQjoFxMfMQjM+o76H9xnwFeiIUTxtogcZ7QLcTHn5MlNdkt+czYZMusx9ujGcDTBufGk2hxU0vg+v+nKJ1bQc7Hz6AwitXRmPIyr3RNFttqHsfV8JRWTiULbVUsn2YfNv2BhQn3WLPgPFA5PTXPZMcv1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p7A9vxNXcoo9SIxFMxDHwiMbe6b8l
cQjOkIaqVj75NiUGkD_OGJYJ8q_kjj13o1GuHygqNH0e3v_xxfbnm3yzmkhkBGjfbqy7wnxrDBCI
vAvGnv_lbEq9u0IxCVDy96CEzJNQPhdA5kFwi03vznyoz9VIsZEskxkDE4dIt4r.dcUuaFSneZCb
AUugiH.XdLOVisrT7zImtA8KOZYi75nn0p3H..KdpjZxV4xh0l.7oBPuibRzXr.Zg8uxiqqCVrtu
CRzjAsAkg6Q0i3P7ickDH0UqXHZxoMsFt1eRjrvFJHpCbPdH82L0ey_23hSObRMBo9zQPQYpMPTM
ZlqNnYPNTuots68_M4dSBALHOBm.MWpRS5i3q7H9S.REJqfVFiJvA6Fi23jozl_.fCkTw2m1_idO
qNiGodxcExt.bQB3lMNGAIOZJKt7SIPx4RcvXwNoOYt9EpbUCHgQLc8QJO5KjgyZfoBerEjCVKz1
MbX3gUVDH_QhmQOsw.Dy8sSwFK1EHAlm48ikhllxkKRwitg--
X-Sonic-MF: <kevinmwilson1956@yahoo.com>
X-Sonic-ID: f1dbe7d0-98c0-4ca8-82b1-d9c9ff8fd361
X-Mailer: WebService/1.1.21417 YMailNorrin
X-Mailman-Approved-At: Tue, 02 May 2023 17:24:55 -0400
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: <1432055058.3122695.1683059975763@mail.yahoo.com>
X-Mailman-Original-References: <1432055058.3122695.1683059975763.ref@mail.yahoo.com>
 by: Kevin M. Wilson - Tue, 2 May 2023 20:39 UTC

Folks, help please! What the @#$! are these doing popping up. Code styles are personal, and not subject to debate.Where can I edit these out of my IDE?
Kevin
"When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."     
Isaiah 43:2

| | Virus-free.www.avg.com |

Re: Editing PEP-8, in particular "expected 2 blanks, found 1

<u2tbg5$185vt$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: specia...@processed.almost.meat (Roy Hann)
Newsgroups: comp.lang.python
Subject: Re: Editing PEP-8, in particular "expected 2 blanks, found 1
Date: Wed, 3 May 2023 10:02:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <u2tbg5$185vt$1@dont-email.me>
References: <1432055058.3122695.1683059975763.ref@mail.yahoo.com> <1432055058.3122695.1683059975763@mail.yahoo.com> <mailman.14.1683062696.13552.python-list@python.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 3 May 2023 10:02:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0593c5ad0e0ec44a98ac33b43d83b50c";
logging-data="1316861"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xukuwPfSGQAmC4hEwEHQkc6EfAJs81wM="
User-Agent: XPN/1.2.6 (Street Spirit ; Windows)
Cancel-Lock: sha1:DwunKLNoDZGO6WcaFFNdc1Ep3b4=
 by: Roy Hann - Wed, 3 May 2023 10:02 UTC

Kevin M. Wilson wrote:

> Folks, help please! What the @#$! are these doing popping up. Code styles are personal, and not subject to debate. [snip]

"Expected 2 blanks"? Or "Expected 2 blank _lines_"?

Two blank lines between function/method definitions has been recommended
for more than 20 years. When I first started using Python I found a lot
of the PEP-8 style recommendations whimsical and annoying. But I've come
to appreciate most of them and no longer feel a strong urge to go my own
way. I even use black now.

There are plenty of seriously bad habits in our industry. I save
my individualism for fighting things that are demonstraby harmful.

Roy

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor