From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Connor Newsgroups: gmane.emacs.bugs Subject: bug#61589: 28.2; Triple-Quote causes emacs 28 to free in Python-mode Date: Fri, 17 Feb 2023 18:12:01 -0600 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1761"; mail-complaints-to="usenet@ciao.gmane.io" To: 61589@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 18 01:13:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTAqv-0000G6-O9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Feb 2023 01:13:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTAqj-00083J-Ch; Fri, 17 Feb 2023 19:13:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTAqg-00081i-Mk for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 19:13:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTAqc-0000k7-M8 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 19:13:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTAqc-0007Ew-Gn for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 19:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Adam Connor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Feb 2023 00:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61589 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167667912927761 (code B ref -1); Sat, 18 Feb 2023 00:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2023 00:12:09 +0000 Original-Received: from localhost ([127.0.0.1]:41890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTApk-0007De-M5 for submit@debbugs.gnu.org; Fri, 17 Feb 2023 19:12:09 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:45816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTApj-0007DX-2E for submit@debbugs.gnu.org; Fri, 17 Feb 2023 19:12:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTApi-0007m8-Q3 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 19:12:06 -0500 Original-Received: from mail-oo1-xc35.google.com ([2607:f8b0:4864:20::c35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTAph-0000SD-4Q for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 19:12:06 -0500 Original-Received: by mail-oo1-xc35.google.com with SMTP id l5-20020a4a8545000000b005200828499dso106707ooh.13 for ; Fri, 17 Feb 2023 16:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=6mjjdHefOOXD5OwVohjX1Gcb22mpZxfjdeH4rfi9jjM=; b=VIYKvgVBjbuS4Ef+GBlHGaCtfLDfgs4qoXY9CG5y0pIGwztFkCynOf7D7HZ7WLUD2q wte7WUqZEwEPB4eZjkQovkMzbk+LsV4ronFBA2tTlLZDP+mWKQ+lSBXQdt5YNphDTb/L 89QRknkTsT8Ck160N9oT1f58QJjhez1NMvw9u9adM+b7td6Srnr1lNyEMZ6NYM8SOHlB cNDNIuAET0zHlR4/lZG5t7zGGEAoVEUwyX0DipuLsatdcfsl4h18JXbbKnEXO1SVBEWe zHxwoRoJEARKubgQyBeQMP7Yp9ueOWz82dRF4XJBpkbvhMDK+2AqLWT0OIC7NV5Spmde ug4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6mjjdHefOOXD5OwVohjX1Gcb22mpZxfjdeH4rfi9jjM=; b=D8tM/JY8iYh+t73ONw1uAaPlLIuxLk5ChyvL8dIlM9hJqhGQIanFw0HAadaeIaGZUl Xgu6jgFFn/3wLVMlRoWvhE4t4st2fTrLdGSv70G6mEpnk+8CsI/EFtwp1mxxQpu5jhL9 QC1VVSaSkfF3saI4k8c31OznlIqhTLTkckQZ7lVc3ufo4sxbca0rZlU8xRoMy2Lnl6P8 AphE7jymg9b3kwMz/tqyStIlXDyambir4qPC+m8o8by2m35YEoQ35sT0XAgrPEVIe9dr bgR7zmr7kwi8hSB2gk7wkjIbdi6DRAPs3zky4o2G2W0pUV+RgF25cyAsGRsHuhK/NgeL JA3A== X-Gm-Message-State: AO0yUKUV5qIHUWIKsjXTT3n2jAAy1A4pIolKYunzqb/vBMqODro8MxM9 QtmQe8fkDeMXWjsw5u7PJZBok9HhCSY= X-Google-Smtp-Source: AK7set9omyr/WPQKFAg+C3whXGupEAE9gd/vIp0OjUaYxrSaVb5xbwztYaEVZW7JS0492fc+Zg+gXQ== X-Received: by 2002:a4a:53c5:0:b0:51f:ec5d:c100 with SMTP id n188-20020a4a53c5000000b0051fec5dc100mr4021525oob.2.1676679122969; Fri, 17 Feb 2023 16:12:02 -0800 (PST) Original-Received: from smtpclient.apple (072-177-008-068.res.spectrum.com. [72.177.8.68]) by smtp.gmail.com with ESMTPSA id h12-20020a4adccc000000b0051a669290e8sm2426661oou.5.2023.02.17.16.12.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Feb 2023 16:12:02 -0800 (PST) X-Mailer: Apple Mail (2.3696.120.41.1.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::c35; envelope-from=adamc55@gmail.com; helo=mail-oo1-xc35.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255915 Archived-At: emacs -Q recipe: Start with a file as follows (not including the dashed lines): -------------------- import os def some_outer(): """ Returns an inner function """ print('bah') def inner(*args, **kwargs): """ blah blah, 'True' is parsed as the boolean True, '[1,2,3]' as = the array [1,2,3], etc. -- but in cases where that doesn't work, yadda = yadda """ return 55 return inner -------------------- Open the file. Above 'some_outer', try to add class Foo: """ For me, emacs will consistently freeze after I press enter on the triple quote. The docstrings seem to play a role (if I delete them, it stops freezing), but I don't know exactly what is going on there. And by 'freeze', I mean exactly that -- emacs stops responding and cannot be quit, although I can force-quit it. In GNU Emacs 28.2 (build 1, aarch64-apple-darwin21.1.0, NS = appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2022-09-12 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6.3 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 50996 8577) (symbols 48 6552 1) (strings 32 18553 2620) (string-bytes 1 614449) (vectors 16 13820) (vector-slots 8 191433 10594) (floats 8 21 39) (intervals 56 199 0) (buffers 992 10))