Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197464

Re: backslash in triple quoted string

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Greg Ewing <greg.ewing@canterbury.ac.nz>
Newsgroups comp.lang.python
Subject Re: backslash in triple quoted string
Date Tue, 13 May 2025 12:11:13 +1200
Lines 16
Message-ID <m8fh11F2ufiU1@mid.individual.net> (permalink)
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> <20250511151334.offwub4qjff7ukyd@hjp.at> <CAJQBtgkPegbJJbuseHGGgN5qjUYvctYGo6T4oO+ysJg2jJ71Sg@mail.gmail.com> <mailman.41.1746976932.3008.python-list@python.org> <m8d4u1FlrmkU1@mid.individual.net> <CAJQBtgk-9Hn0xVq3CHnGnJ9CDvc_5+qz5gPZnW2z5zHFc+=WKA@mail.gmail.com> <mailman.49.1747074494.3008.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net Z2fD0nF7mtcFsgmrtbpRsA5Sd9702KgmHd2KrbAvDqOGPKx6U+
Cancel-Lock sha1:b4si9DOU7c7RGQSyxKyWJ/lcNlY= sha256:VpIgOqXbsieewZyERjDBb0scnjsPuPjvCTzLZmc9PrY=
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0) Gecko/20100101 Thunderbird/91.3.2
Content-Language en-US
In-Reply-To <mailman.49.1747074494.3008.python-list@python.org>
Xref csiph.com comp.lang.python:197464

Show key headers only | View raw


On 13/05/25 6:28 am, Left Right wrote:
> Read the associate release note.

I take it you're referring to this:

> In a future Python version, SyntaxError will
> eventually be raised, instead of SyntaxWarning. (Contributed by Victor
> Stinner in gh-98401.)

That doesn't contradict what I said. Currently it's a warning. If and 
when it becomes an error, presumably the grammar documentation will be 
updated to reflect that. If it isn't, you'll have cause to complain, but 
not before.

-- 
Greg

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar


Thread

Re: backslash in triple quoted string Left Right <olegsivokon@gmail.com> - 2025-05-11 17:21 +0200
  Re: backslash in triple quoted string Greg Ewing <greg.ewing@canterbury.ac.nz> - 2025-05-12 14:32 +1200
    Re: backslash in triple quoted string Left Right <olegsivokon@gmail.com> - 2025-05-12 20:28 +0200
      Re: backslash in triple quoted string Greg Ewing <greg.ewing@canterbury.ac.nz> - 2025-05-13 12:11 +1200

csiph-web