Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

We can predict everything, except the future.


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.Chris Angelico

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

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: rosuav@gmail.com (Chris Angelico)
Newsgroups: comp.lang.python
Subject: Re: What to use for finding as many syntax errors as possible.
Date: Thu, 13 Oct 2022 11:29:22 +1100
Lines: 16
Message-ID: <mailman.693.1665620976.20444.python-list@python.org>
References: <a95001e1-b60e-63ce-d363-30481d115282@vub.be>
<34900d6b-0abd-19ef-4f10-e17fc256e201@DancesWithMice.info>
<CAPTjJmp=nFzViKXx-3NvsQodoO2Q73wBB+nJ8+tn17AKNcQH0g@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de DMJxWVQPIm22wBxMuI62awaLG9IKFUfKHZDLeWN6Isdg==
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=ZlkJzDBB;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '2022': 0.05; 'else.':
0.07; 'though.': 0.09; 'trivial': 0.09; 'syntax': 0.15; 'assert':
0.16; 'chrisa': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris
angelico': 0.16; 'misspelled': 0.16; 'subject:syntax': 0.16;
'syntactic': 0.16; 'wrote:': 0.16; 'thu,': 0.19; 'to:addr:python-
list': 0.20; 'examples': 0.25; 'tried': 0.26; 'so.': 0.26;
'error': 0.29; 'message-id:@mail.gmail.com': 0.32; 'but': 0.32;
'subject:for': 0.33; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'errors': 0.36; "it's": 0.37; 'received:209.85': 0.37; 'could':
0.38; 'received:209': 0.39; 'two': 0.39; 'received:209.85.208':
0.39; 'subject:What': 0.40; 'both': 0.40; 'your': 0.64; 'within':
0.69; 'name,': 0.75; 'extra': 0.84; 'subject:many': 0.84
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=il0EhSdJer2h+sLcZ7cO1ZwfOveM5gnHbVvd6VKDcGk=;
b=ZlkJzDBBs1sV5KW05pdnFKsYANVSwRgBnjAVMLdnc+xkkvEM34lDiNNkYdhueiiV8W
TZMeJaCk1+49bpPYyFsdEoz2nAvp+YDI5H5xD0mpMXelyXTo7YFvAPM7CgAVabe72gX6
yokUumf8IbKk6t1bfwKJ5Cwj4ymUPKE+vV13dd3YmnK31vUXevWyBBTfTU966aygB6GJ
BfiYumZyTW4xI/gUgO2494FVje9c9e7M3NPEGo9SocMW6qncq0lCqpmfdMCSe5QA7Z1n
4k26wM6wMi9NZTlh+dSMUkUZtHMqVf4S7jj5AUU7VpCtOm6yr8ExFhpIkODZeN0M/xPa
cjkg==
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=il0EhSdJer2h+sLcZ7cO1ZwfOveM5gnHbVvd6VKDcGk=;
b=MtBqzljB9SgTWyyepTrdA7MrgDWIWB/5i0SIu2I5+vw5TRxjK+BFbw08MrukY/Exia
8XYTLDp1TBhB7xUUCO8887uyv8yJUvrZNiIhk/3IbGVxJmBXXNCJEfiTX8QtXJocQ+SG
cUtWqodc4jCqrd3nXkxJz+EiXwSy6ymGVZVqDfEa9ZhGEjHzkjSwSB39ygkEPpV862yj
nBt96lYp4rIYAnOj8sM00Y7CQ66Sq4J1q1b/MtCRz2Z59Mz/hs9+vD0Bd1FOWZZtHDIf
BTWA7QBFQZhGKFNcoacEiOZiL2Z/YNfoGU3w57VcMZjB7Bfw9NKn54wYgU90JbqkwHTg
2ogg==
X-Gm-Message-State: ACrzQf0ZEPI9lGfy5rakhD4DPtiMrJFlwUJCyVhcs2D14vhSI54SYrKu
9i1yH88i+Bu+j8SeAnDnr19Zo87cOewhcL/N2KgUXiDO
X-Google-Smtp-Source: AMsMyM78BuwnthY0jOvRRYDOBzMLUbCIBa3Soj8u3zuKnKEBiIUOZTqORka5rpDjkuYM5r1ku/+6BGAi9gCqNvtkE8g=
X-Received: by 2002:a05:6402:150a:b0:459:2575:99c6 with SMTP id
f10-20020a056402150a00b00459257599c6mr30056878edw.231.1665620974384; Wed, 12
Oct 2022 17:29:34 -0700 (PDT)
In-Reply-To: <34900d6b-0abd-19ef-4f10-e17fc256e201@DancesWithMice.info>
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: <CAPTjJmp=nFzViKXx-3NvsQodoO2Q73wBB+nJ8+tn17AKNcQH0g@mail.gmail.com>
X-Mailman-Original-References: <a95001e1-b60e-63ce-d363-30481d115282@vub.be>
<34900d6b-0abd-19ef-4f10-e17fc256e201@DancesWithMice.info>
 by: Chris Angelico - Thu, 13 Oct 2022 00:29 UTC

On Thu, 13 Oct 2022 at 11:23, dn <PythonList@danceswithmice.info> wrote:
> # add an extra character within identifier, as if 'new' identifier
> 28 assert expected_value == fyibonacci_number
> UUUUUUUUUUUUUU UUUUUUUUUUUUUUUUU
>
> # these all trivial SYNTAX errors - could have tried leaving-out a
> keyword, but ...

Just to be clear, this last one is not actually a *syntax* error -
it's a misspelled name, but contextually, that is clearly a name and
nothing else. These are much easier to report multiples of, and
typical syntax highlighters will do so.

Your other two examples were both syntactic discrepancies though.

ChrisA


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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor