Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and appears to be fixed. Will keep monitoring.


devel / comp.lang.python / Re: learning python ...

SubjectAuthor
o Re: learning python ...Grant Edwards

1
Re: learning python ...

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b....@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: learning python ...
Date: Mon, 24 May 2021 18:48:58 -0000 (UTC)
Lines: 21
Message-ID: <mailman.312.1621882868.3087.python-list@python.org>
References: <143d4163-faf5-3794-095d-f28e85a18c58@adminart.net>
<s8e3bn$105v$1@ciao.gmane.io>
<6730da2c-1440-ad59-7494-b5ce5b5bccae@adminart.net>
<CACFDE8bsJe2BMNwsXAiGyxsMxNE+RuENj62GtfEzqodh5O_mMA@mail.gmail.com>
<5cec7f52-a66b-608c-4816-a3d8816658b2@adminart.net>
<CAPTjJmpOXQ0m4-=uty96t+K9VCvZ_7UWdzPOKYw-vocRFq50eQ@mail.gmail.com>
<6ad46670-a0b4-d556-3b03-284ffa451c89@adminart.net>
<d7qnaglvh89gpvn5b3km3v7hk5ukvhk81i@4ax.com>
<s8gseq$829$1@ciao.gmane.io>
X-Trace: news.uni-berlin.de OWDVLc/vX9ygiDB/Xbsi8gC+Pz8NN3yROnPFtN/hVc5w==
Return-Path: <python-python-list@m.gmane-mx.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '(e.g.': 0.04; 'traceback':
0.04; 'fairly': 0.05; 'subject:python': 0.06; 'compiler': 0.09;
'expression': 0.09; 'message-id:@ciao.gmane.io': 0.09;
'received:ciao.gmane.io': 0.09; 'received:gmane.io': 0.09;
'received:list': 0.09; '>>>>': 0.16; 'but...': 0.16;
'conditional': 0.16; 'from:addr:grant.b.edwards': 0.16;
'from:name:grant edwards': 0.16; 'parsing': 0.16;
'received:116.202': 0.16; 'received:116.202.254': 0.16;
'received:116.202.254.214': 0.16; 'syntaxerror:': 0.16; 'wrote:':
0.16; 'syntax': 0.16; 'python': 0.16; 'grant': 0.17; 'to:addr
:python-list': 0.23; 'header:User-Agent:1': 0.31; '"",': 0.32;
'keyword': 0.32; 'invalid': 0.35; 'from:addr:gmail.com': 0.35;
'file': 0.38; "it's": 0.38; 'produce': 0.69; 'received:116': 0.71;
'admit': 0.84
X-Injected-Via-Gmane: http://gmane.org/
User-Agent: slrn/1.0.3 (Linux)
X-Mailman-Approved-At: Mon, 24 May 2021 15:01:07 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <s8gseq$829$1@ciao.gmane.io>
X-Mailman-Original-References: <143d4163-faf5-3794-095d-f28e85a18c58@adminart.net>
<s8e3bn$105v$1@ciao.gmane.io>
<6730da2c-1440-ad59-7494-b5ce5b5bccae@adminart.net>
<CACFDE8bsJe2BMNwsXAiGyxsMxNE+RuENj62GtfEzqodh5O_mMA@mail.gmail.com>
<5cec7f52-a66b-608c-4816-a3d8816658b2@adminart.net>
<CAPTjJmpOXQ0m4-=uty96t+K9VCvZ_7UWdzPOKYw-vocRFq50eQ@mail.gmail.com>
<6ad46670-a0b4-d556-3b03-284ffa451c89@adminart.net>
<d7qnaglvh89gpvn5b3km3v7hk5ukvhk81i@4ax.com>
 by: Grant Edwards - Mon, 24 May 2021 18:48 UTC

On 2021-05-24, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:

> Attempting to rebind a keyword in Python will produce an error...
>
>>>> if = 1.234
> Traceback ( File "<interactive input>", line 1
> if = 1.234
> ^
> SyntaxError: invalid syntax

I must admit it might be nice if the compiler told you _why_ the
syntax is invalid (e.g. "expected conditional expression while parsing
'if' statement").

It's usually fairly obvious, but...

--
Grant

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor