Deutsch   English   Français   Italiano  
<mailman.37.1746960486.3008.python-list@python.org>

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

Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: Chris Angelico <rosuav@gmail.com>
Newsgroups: comp.lang.python
Subject: Re: backslash in triple quoted string
Date: Sun, 11 May 2025 20:47:52 +1000
Lines: 14
Message-ID: <mailman.37.1746960486.3008.python-list@python.org>
References: <CA+HdcZhMPvojVkAnGNy6-qA1Lf8LDG_Wjxef0xfSNQzU=BUEzw@mail.gmail.com>
 <CAJQBtgmV0+EViR6yWoY22VjHiVZOD6eaPiAhDfUMJRQRj=PfCQ@mail.gmail.com>
 <CAJQBtgk7ZoURixi3404asBzJX4X2A5pbCsd6SVWuqbqnMgOgQw@mail.gmail.com>
 <20250511095858.rwhc7qazptpzntgo@hjp.at>
 <CAJQBtg=vMh7p5UKgScRzFB7vY3XyrdpXWjTTN+prgrBJPV9sfQ@mail.gmail.com>
 <CAPTjJmqbCi_njBbs=6=kbcYvKmOuj21owPXKzAEsg9bFmCSdhQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de q/648h4E12RF5nqaA/vfJAJG9hy6qDsy/e5N3+W/QcPg==
Cancel-Lock: sha1:k/QcTYIJ2FP3lfSP8JS++tP5apU= sha256:Fmapt6Ls85X9JvX5b0dqmpILrF6S6tJx13zXhqyxVDg=
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=ifAwF3MN;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.188
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.64; '*S*': 0.02; 'sun,': 0.07; '2025': 0.16;
 'chrisa': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris
 angelico': 0.16; 'received:mail-lj1-x235.google.com': 0.16;
 'subject:string': 0.16; 'tedious': 0.16; 'wrote:': 0.16; 'to:addr
 :python-list': 0.20; 'language': 0.21; 'actual': 0.25; 'comment':
 0.31; 'message-id:@mail.gmail.com': 0.31; "doesn't": 0.32;
 'guess': 0.32; 'python-list': 0.32; "i'm": 0.32;
 'received:google.com': 0.34; 'from:addr:gmail.com': 0.35; 'header
 :In-Reply-To:1': 0.35; "it's": 0.36; 'built': 0.36; 'source':
 0.36; 'though': 0.37; 'put': 0.38; "that's": 0.39; 'wrote': 0.39;
 'follow': 0.62; 'ever': 0.63; 'clear': 0.64; 'decided': 0.67;
 'right': 0.68; 'obvious': 0.69; 'rules': 0.70; 'supposed': 0.76;
 'left': 0.83; 'grammar,': 0.84; 'really.': 0.84; 'grammar': 0.91;
 'cut': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1746960483; x=1747565283; darn=python.org;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=owoec3P+f/3qOtgjRItB1Y1d9ORxefC30yLHhslFn2M=;
 b=ifAwF3MN92naGlBxQQKawdOPf91x1fkbWwrRBd8DOawuYgdsKd1qpgqJwIlGIfF6nK
 5LMZWi41alRa2NlehIQTzRbU27vcnlQFeYd5OSrB5FNqfQEbm9BBQMTH3hje9QYeS0NC
 jumgE1NL9r3qy0phbJuaDs40XtuNAxoPg+FaWfOVJ58qbf02XvzqXkCa8mca5fELMmHi
 wtFVMNqCNEx0SaSSjlD5peCEB7CYOZ99FrTnpY929uWfFpw3WCMdzJirR4W/yVT4SBsK
 n+iLaSythinQutP/0ZO+KxWZ+AcE4mo1dKCKrjdskIYo8t7k3/IjDLZQCYBHComqLQYl
 h0OQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1746960483; x=1747565283;
 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=owoec3P+f/3qOtgjRItB1Y1d9ORxefC30yLHhslFn2M=;
 b=Bq/gpO9KMT49/z2xqWqNu8SYsmuhp5yDIC7QjIUacwcl3e28NTsLsuPFiFjqfi6Vm+
 WDuMRtjP7IZGFFSnOLiwup1t8wud4rKAggnkTRwRnxyqvQ6SxSH2ClewZ2tAZVo/qbZk
 BXGT5650HaTi7txkOgg26yEzGnLO4sxEIIELlaZb01L5oES2p4tlcthJGFEde+2y2wwS
 jNaAbsQ6SaoaxA/ohGNv2/M1fU/9XZS9KI1NXUIgAXt3Ath1UCiCRQ1P9ht6gsrgKK1a
 kBnmiHvZQC3sDXaZSHdUizuETQv66m16fGQd3+iIqe1AWpxX2uwLZVmMlGLLdoRqfL4T
 5tWQ==
X-Gm-Message-State: AOJu0YwCqGZigXtmQaqmY5Z0amEAUYsg7gvfOFGjOLuZnAUkoDqCXfgV
 CGZDMjziS6CXx7UZSSdOZqbAFTPLh6no+sz12AC886IWiY3oRUz2QCXr07LkLJypXnBi5ResJaM
 0MShzLAkxnMuKA63sU6RHkW/+JQTgQA==
X-Gm-Gg: ASbGncs0gMjRAA6Nyjvn1rXagIF1I5ADhfrYxY+5iGgw+bhFZGTJdcx7JGbp0e3VaK+
 O3oTWRjBeGknF0q+qBG0wMStwDMocWejP0fm6JqiLxOWVwPNJ+GwpFqhNbpL11f48jlxxw1G7MW
 WTiy2do1RC7b7GUhEPA1F2GBupmweFKPBo+jnXsQ==
X-Google-Smtp-Source: AGHT+IHPKg6cw+QYcfmM1OtR0hFTYo6wukW0g/da5IS2MnzWlhbkh+ZMVSJ2dXXwcMbyn+vj7iWqxjJlVAMwPam4YTo=
X-Received: by 2002:a2e:b8c4:0:b0:30b:8f60:cdb7 with SMTP id
 38308e7fff4ca-326c4627fbdmr34985841fa.24.1746960483226; Sun, 11 May 2025
 03:48:03 -0700 (PDT)
In-Reply-To: <CAJQBtg=vMh7p5UKgScRzFB7vY3XyrdpXWjTTN+prgrBJPV9sfQ@mail.gmail.com>
X-Gm-Features: AX0GCFt1Ueps0lQeSrMq1LInJxGNS0zjCcDII8sXrmmZ2sfhLv-p8kyRD4V7B74
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: <CAPTjJmqbCi_njBbs=6=kbcYvKmOuj21owPXKzAEsg9bFmCSdhQ@mail.gmail.com>
X-Mailman-Original-References: <CA+HdcZhMPvojVkAnGNy6-qA1Lf8LDG_Wjxef0xfSNQzU=BUEzw@mail.gmail.com>
 <CAJQBtgmV0+EViR6yWoY22VjHiVZOD6eaPiAhDfUMJRQRj=PfCQ@mail.gmail.com>
 <CAJQBtgk7ZoURixi3404asBzJX4X2A5pbCsd6SVWuqbqnMgOgQw@mail.gmail.com>
 <20250511095858.rwhc7qazptpzntgo@hjp.at>
 <CAJQBtg=vMh7p5UKgScRzFB7vY3XyrdpXWjTTN+prgrBJPV9sfQ@mail.gmail.com>

On Sun, 11 May 2025 at 20:38, Left Right via Python-list
<python-list@python.org> wrote:
>
> My comment was more of an irony really. It's plenty obvious that the
> grammar is a lie. The reason is that it's tedious to put the actual
> intender rules into the grammar, and so whoever wrote the grammar
> decided to cut corners. But, the grammar is supposed to be the
> authoritative source for how the language is parsed, that's why even
> though it's clear that the grammar is a lie, blaming whoever doesn't
> follow it makes it ironic.

Have you ever built a language parser? I'm going to guess you haven't.

ChrisA