Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail From: Bob van der Poel Newsgroups: comp.lang.python Subject: backslash in triple quoted string Date: Wed, 7 May 2025 20:20:27 -0700 Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: news.uni-berlin.de 2+NPGsR9MdMzEIf53Eb2RQdzvbH9eOsTdugq+dMIMgTA== Cancel-Lock: sha1:ekCCi2z2TbL/a647yFoxRIHUbyg= sha256:Sn3RHBG4LD/BjCuJdLzCHrr4vQYsDyABh3GUssdt5YY= Return-Path: 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=mellowood.ca header.i=@mellowood.ca header.b=nx2FO3xL; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: UNSURE 0.360 X-Spam-Level: *** X-Spam-Evidence: '*H*': 0.39; '*S*': 0.11; 'van': 0.07; '"""': 0.09; 'bob': 0.16; 'crashed': 0.16; 'subject:string': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20; 'run': 0.23; 'tried': 0.26; 'comment': 0.31; 'program,': 0.31; 'received:209.85.160': 0.31; 'message-id:@mail.gmail.com': 0.31; 'to:name:python': 0.32; 'but': 0.32; 'received:google.com': 0.34; 'change': 0.36; 'received:209.85': 0.37; 'received:209': 0.39; 'use': 0.39; 'something': 0.39; 'quite': 0.39; 'top': 0.65; 'well': 0.65; 'canada': 0.67; 'email:': 0.68; 'der': 0.69; 'sequence': 0.69; 'free': 0.71; '"': 0.76; '....': 0.76; 'url:ca': 0.76; '****': 0.84; 'email name:bob': 0.84; 'received:web-hosting.com': 0.84; 'british': 0.91; 'url:music': 0.91 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mellowood.ca; s=default; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DYdplGGmbB+tN6kX+sXuvJohzv2Ajbv2JPih5N6+2aA=; b=nx2FO3xLLyvlh54QGNKNVoFtVQ OdQ5xETjhydp5s5GYTCLO3A3wvOWxQFQr/6tEbXsdgoaKBKSCNneKCC0ICFq00nsRzwfI0j7fxJR/ H8DGSZ1C6bPV0qsy5cCml2dkvz/d9UF5CwLXstgsygnuNH/Ho9MlLB0kRF3mxC4PB+dI30A/5VuQ8 eU/gzgbsHmjTghhYR/ODy/GaaM87ullZURJCM87HJQJKldZFvYxa4O5BtC9oQGNEc4l4LMnR+amJE Du8zbd+TA067gLIR4FRsEF+7S1QW5XzzSfeHDgZKAHIqly6sj28TnxQbOg6HrUzb8mRz5oa9x8Elt 0pgKoDKw==; X-Gm-Message-State: AOJu0YxYRgo3dwDoERZKCObd1H/jNJRUCMGq8KlFN+p3EX0a/We1AD3w MEtNulH8OBgEgCOM9gbg38LoRrjC8ZCCiQFxK9HM33wK5H8KCOJ23WtSQc8//0cdazsnVlkbH9n kGYv/NsGaDucaY4J7ClWm/j3Bnc8= X-Google-Smtp-Source: AGHT+IHzSQH3gazYBK4EerGJilISIT7QDNZt5sWIKSxL3FfJyhoWwcaky5GBn65HPDxZc9FxlfHcnnYiihaWlHjQTYg= X-Received: by 2002:a05:622a:38a:b0:472:801:3e74 with SMTP id d75a77b69052e-49227771a73mr88532801cf.41.1746674462622; Wed, 07 May 2025 20:21:02 -0700 (PDT) X-Gmail-Original-Message-ID: X-Gm-Features: ATxdqUHVioCwfObRGInDW_oZlJSxXiYtTU6FgkAiK-LsiIlfsoszKRjAsdmjPnI X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server207.web-hosting.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mellowood.ca X-Get-Message-Sender-Via: server207.web-hosting.com: authenticated_id: bob@mellowood.ca X-Authenticated-Sender: server207.web-hosting.com: bob@mellowood.ca X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched X-Mailman-Approved-At: Thu, 08 May 2025 00:58:42 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.39 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Bytes: 5172 Did something change in python buggering up my use of a "\ " sequence in a triple quoted string? I have yet to go through my archive on the program, but I tried to run it today and it crashed quite spectacularly when it hit a """ .... """ line being used as a comment at the top of a function. I changed the "\" to a "/" and all is well now. -- **** Listen to my FREE CD at http://www.mellowood.ca/music/cedars **** Bob van der Poel ** Wynndel, British Columbia, CANADA ** EMAIL: bob@mellowood.ca WWW: http://www.mellowood.ca