Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197447
| From | Richard Damon <richard@damon-family.org> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: backslash in triple quoted string |
| Date | 2025-05-11 07:16 -0400 |
| Message-ID | <mailman.38.1746962491.3008.python-list@python.org> (permalink) |
| References | (1 earlier) <CAJQBtgmV0+EViR6yWoY22VjHiVZOD6eaPiAhDfUMJRQRj=PfCQ@mail.gmail.com> <CAJQBtgk7ZoURixi3404asBzJX4X2A5pbCsd6SVWuqbqnMgOgQw@mail.gmail.com> <20250511095858.rwhc7qazptpzntgo@hjp.at> <CAJQBtg=vMh7p5UKgScRzFB7vY3XyrdpXWjTTN+prgrBJPV9sfQ@mail.gmail.com> <1474665319.227.1746962165437@email.ionos.com> |
On 05/11/2025 6:36 AM EDT Left Right via Python-list
<[1]python-list@python.org> wrote:
Then it just means that the grammar lies. The two claims are mutually
exclusive, so either one is a lie or the other or both.
No, it more points out that not all errors are grammatical. The grammar
does not (and can not) fully define what is a legal program. Some forms of
error are semantic, like undefined symbols.
It appears that rather than try to make the grammar complicated enough to
describe what is a valid string, that operation was moved into the
semantics of a string, which simplifies the rules quite a bit.
References
Visible links
1. mailto:python-list@python.org
Back to comp.lang.python | Previous | Next | Find similar
Re: backslash in triple quoted string Richard Damon <richard@damon-family.org> - 2025-05-11 07:16 -0400
csiph-web