Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Brain damage is all in your head. -- Karl Lehenbauer


devel / comp.lang.python / Re: What to use for finding as many syntax errors as possible.

SubjectAuthor
o Re: What to use for finding as many syntax errors as possible.Karsten Hilbert

1
Re: What to use for finding as many syntax errors as possible.

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten....@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: What to use for finding as many syntax errors as possible.
Date: Sun, 9 Oct 2022 22:46:44 +0200
Lines: 28
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.587.1665348407.20444.python-list@python.org>
References: <a95001e1-b60e-63ce-d363-30481d115282@vub.be>
<CABaFrRayYinb9Cd1w=iAz1NWmt6MOzam1yEYXPaAMjREriVUAg@mail.gmail.com>
<00893b0c-e367-6fc9-cdae-f0ee42bc16c0@vub.be>
<Y0MDnSYz2xKMWnP1@hermes.hilbert.loc>
<c2d5224a-9ed3-16a8-7659-af4716c4f459@vub.be>
<Y0MzNGbeE93h9fPh@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de Czl7dD0A9Wt493+s+/hOyglGI2zmsmDELzn0gf1bx4sw==
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=gmx.net header.i=@gmx.net header.b=XLted2Qj;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.010
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '2022': 0.05;
'received:212.227': 0.07; 'sun,': 0.07; '+0200': 0.09; ':-)':
0.09; 'gpg': 0.09; 'karsten': 0.09; 'schrieb': 0.09; 'syntax':
0.15; '(there': 0.16; '1713': 0.16; 'antoon': 0.16; 'context.':
0.16; 'correction': 0.16; 'objective': 0.16; 'parsing': 0.16;
'received:212.227.15': 0.16; 'subject:syntax': 0.16; 'useless':
0.16; 'probably': 0.17; "can't": 0.17; 'to:addr:python-list':
0.20; 'wrong': 0.28; 'error': 0.29; 'program': 0.31; 'end.': 0.32;
'but': 0.32; 'subject:for': 0.33; 'there': 0.33; 'header:In-Reply-
To:1': 0.34; 'trying': 0.35; 'one.': 0.35; 'errors': 0.36;
'really': 0.37; 'best,': 0.38; 'way': 0.38; 'still': 0.40;
'subject:What': 0.40; 'want': 0.40; 'received:212': 0.62;
'received:91': 0.62; 'true': 0.63; 'your': 0.64; 'look': 0.65;
'further': 0.69; 'margin': 0.69; 'obvious': 0.69; 'ones,': 0.69;
'remaining': 0.69; 'times': 0.69; 'became': 0.84; 'subject:many':
0.84; 'sure.': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=badeba3b8450; t=1665348405;
bh=bv+PTtEBZ7q4W7su1zCGe7tjNRzuyxsEmGL7y6PF7mU=;
h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To;
b=XLted2QjpxOBGfKqqb2y6KHuwygKsJ93Ndq2NGobAP+spQICRDlceYIyWJVchsFKO
4xlphKoIeoPOP3Ra+B4MIOUf3ecIMJ238OGqHyoVjVV1tsnZlRCWePfGFSgQYQN8G1
N7opuoGfxRE/odAi1kS5XtX7z4/62uEgNDEX8HT8=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Content-Disposition: inline
In-Reply-To: <c2d5224a-9ed3-16a8-7659-af4716c4f459@vub.be>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Re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MQZMqYJPuyX3sl1v7yy6
vCDYM0FpOurvhexWmjlGapjNMls5xRcPfsQAjvnF1rTWfIlmnpeWUrBhgZdLvhyoex4wRguKy
XKdRV6BMCTtMzDyotXuSMvEvhMer15BSj7t0UwsmMV3zL6aqsRG11Qaw3hSmerNvfNE3c6dVm
mBIGPbLQQfE35zq6xMz6O5E9AuOFaQVR9OgdXFNClaB56kEL7o5kIHcvtd5iJ6XtOtvLN6oV5
oBLICEueH4ndE/2isI2HZt6cvgLGdGwNHPPAyjj6IoXo1LsBJ+teagt6u66ma1JyEhTJ6gmvO
wOo5g0pDN3iZJNSTe3731SaKTotykB/RVqoDtSPnsdhZA44pAW3+XtCgieCefz9OpN6+2mJnl
AT2HjY3lqDUFW4oe19CduvP1XSt2p1NkFDouEGOExXwEEz90joGAVzCYN2sMFBb5Q7cvrtJu5
E7etMBW5pYwABu/GriEwPDap89uDx+K5p79wk+MD4Q3L75lvN08lzWAVDDjQrsuMK7wETQa1C
LesdxNWjk3hyuVZYR4FprAiGfOEn8S7DSWfHnUFHoCOQhDFTsOSMUuV88+aQROmVtqaW0NHd1
BYcmw0pboS2TOl9OiFOlheUwNEagWzlnvsk9RooqmL8+phhaEczxQwTplFoI96gRnAuHGWIGN
ykAEgWfx9wywB4CiUrKqVB61hPbmRGRfwZ/9Iyvpq1X6Cahi+sDaf6CjsgfKUqwwGCuPjqYd7
2NL/Xd7DYeNzjDNP8h3kvA2vQsj28+8U3Q9OhRJFJ7gIeEKAojhA1f7qPPEcOcelLbFADPbYW
n4baky4DPCUdXR6zkpcZJmFqIrNNTrNP0mbae0Vbul1pq
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: <Y0MzNGbeE93h9fPh@hermes.hilbert.loc>
X-Mailman-Original-References: <a95001e1-b60e-63ce-d363-30481d115282@vub.be>
<CABaFrRayYinb9Cd1w=iAz1NWmt6MOzam1yEYXPaAMjREriVUAg@mail.gmail.com>
<00893b0c-e367-6fc9-cdae-f0ee42bc16c0@vub.be>
<Y0MDnSYz2xKMWnP1@hermes.hilbert.loc>
<c2d5224a-9ed3-16a8-7659-af4716c4f459@vub.be>
 by: Karsten Hilbert - Sun, 9 Oct 2022 20:46 UTC

Am Sun, Oct 09, 2022 at 07:51:12PM +0200 schrieb Antoon Pardon:

> >But the point is: you can't (there is no way to) be sure the
> >9+ errors really are errors.
> >
> >Unless you further constrict what sorts of errors you are
> >looking for and what margin of error or leeway for false
> >positives you want to allow.
>
> Look when I was at the university we had to program in Pascal and
> the compilor we used continued parsing until the end. Sure there
> were times that after a number of reported errors the number of
> false positives became so high it was useless trying to find the
> remaining true ones, but it still was more efficient to correct the
> obvious ones, than to only correct the first one.
>
> I don't need to be sure. Even the occasional wrong correction
> is probably still more efficient than quiting after the first
> syntax error.

A-ha, so you further defined your context.

Under which I can agree to the objective :-)

Best,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor