From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2N2hIGmIV2NP9gAAbAwnHQ (envelope-from ) for ; Tue, 25 Oct 2022 08:55:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OIeYIGmIV2Nk+AAAauVa8A (envelope-from ) for ; Tue, 25 Oct 2022 08:55:37 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3512747C2D for ; Tue, 25 Oct 2022 08:55:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onDpK-0000NK-LZ; Tue, 25 Oct 2022 02:54:18 -0400 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 1onDDK-0006rG-Qu for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 02:15:03 -0400 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 1onDDK-0007LP-Bt for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 02:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onDDK-00042j-6y for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 02:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58678: 28.2; :session in org-babel for python unexpected output Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Tue, 25 Oct 2022 06:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58678 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: Sergey Cc: 58678@debbugs.gnu.org X-Debbugs-Original-Cc: emacs-orgmode@gnu.org, 58678@debbugs.gnu.org Received: via spool by 58678-submit@debbugs.gnu.org id=B58678.166667848515497 (code B ref 58678); Tue, 25 Oct 2022 06:15:02 +0000 Received: (at 58678) by debbugs.gnu.org; 25 Oct 2022 06:14:45 +0000 Received: from localhost ([127.0.0.1]:50145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onDD2-00041t-NW for submit@debbugs.gnu.org; Tue, 25 Oct 2022 02:14:45 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onDD1-00041e-7k for 58678@debbugs.gnu.org; Tue, 25 Oct 2022 02:14:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B68BC240026 for <58678@debbugs.gnu.org>; Tue, 25 Oct 2022 08:14:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666678477; bh=K3xthjNOMlUvayK5kjrH+0q9ny6xdLRVIg2C/5cvAxU=; h=From:To:Cc:Subject:Date:From; b=Pw6uWWUL3NYdayYmY+WNYafMvSnrvct9qXM8xwPaIcqyYtlReG9Q0XUFTqkdljddi PBzCqJf+XnvMeSL0rn8B4Kefi+YyXjNW3iK8YOlTzArSA0Hi3LUK+aAsdKGA/lkBl4 rJV2O8kVUYKB9p0FJiUd4W1Z27PCUh2KZAA03xpObbR8GWWk7Rb5pCGkG8dZ52NgID IqfrGv2WqYLDfF0Sg+yYfFqBFQGEQHUnz3hY4iBy1Kjr9DDAJf77SWIVj4MMld9lj4 Ji/0+jmwBAsWWa2PTtKquFvKQYH9GMRWVDRgKWcfHF6CD0p42bswKnFU+2pkxGuoBy /D9MuBZPNozLA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MxM983lnKz6tmS; Tue, 25 Oct 2022 08:14:36 +0200 (CEST) From: Ihor Radchenko In-Reply-To: <05d53841TFY_y3sPHPfKe88XSEzzLagSxlSsb5CN-2ph0LpnlsSPXRZzjZivgR2RLz0PPM457qIDR46q9NDcJCPnScKQaWFE_B3Ujo8dwlc=@proton.me> References: <87zgdo1jsc.fsf@localhost> <05d53841TFY_y3sPHPfKe88XSEzzLagSxlSsb5CN-2ph0LpnlsSPXRZzjZivgR2RLz0PPM457qIDR46q9NDcJCPnScKQaWFE_B3Ujo8dwlc=@proton.me> Date: Tue, 25 Oct 2022 06:15:20 +0000 Message-ID: <87tu3stonb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666680937; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=K3xthjNOMlUvayK5kjrH+0q9ny6xdLRVIg2C/5cvAxU=; b=RC1Vw8KrIzy4lphZvFZxHXy+h6cw9FfBkOfHTNPBDDkY1zwb4s3U9/w7lRyVjZibL94YMg fepwm3/wTfGDmIiPZC+uQw1e3S5xL1RXx/da1L684V3t4l69+845LM7o1BMDoLZRVCNRo0 5hreg++YD0SsPIo3rSOJ6yfqHgic05Zxr86RzLshNSIOZ5AwLqoGXXmdjugFH8UUPTaUcV ukagfYzUBvTdIuBUVhKxF6ipl8IgW2f1ZhTNTMLs7Fb2TwkoAcs7g+l0cLNRtl3JQlVPXA UACSDTeNNkJK3PzIQWJDWfY4diX2fg5RuSR2Ac6yNpbsmbBm8t2NVeFXmG8CcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666680937; a=rsa-sha256; cv=none; b=DSgqsDH+mUXfCiveobbDU1ZeAZEefPNo+8AjnNLhnKo3vd6JqV4WZ0KK9gCQgIM3aMaNUd toJ+XfS0n0dDiqaX6Pir2/4TmhM1dcE78hHl0/nGv2siYp9Gj7Bbx6fNFL/sL4MVLwFCda 4T5kMgbqUePyiGuuGQTwBkkwC7R87vpb7bYbvpDJ0AYLS5GCBB/3y1+fRIRn0tHMKuzwsl Vqs1s/8v6+uDUOAG4RF5ydfQHJVLU5gyyw2I7XHMND9KN1XKU6p3LdNaYYF/f9v8OJ5V8u QAXyWxc0ECRufMOwsB3RGhqiU2ie0pC+XQ6ayieylwvMjYjjZm5sUkpoIEVQBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Pw6uWWUL; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Pw6uWWUL; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3512747C2D X-Spam-Score: 6.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1WpqNHPBtpO0 Sergey writes: > I have traced this to org-bable issue with MacOS python readline and nati= ve completion. Similar issues discussed in=20 > https://github.com/jorgenschaefer/elpy/issues/887 > and=20 > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25753 > > The solution proposed in those threads, i.e., installing python from home= brew, which has gnureadline, helps for emacs 27 but causes freezing in emac= s 28 after displaying following message: > ``` > Warning (python): Your =E2=80=98python-shell-interpreter=E2=80=99 doesn= =E2=80=99t seem to support readline, yet =E2=80=98python-shell-completion-n= ative-enable=E2=80=99 was t and "python3" is not part of the =E2=80=98pytho= n-shell-completion-native-disabled-interpreters=E2=80=99 list. Native compl= etions have been disabled locally. > ``` > > Setting ~python-shell-completion-native-enable~ to nil removes the warnin= g but doesn't prevent freezing. This behaviour persists with minimal org se= tup as well (although, I believe my emacs comes with org pre-packaged). So, it looks like Emacs bug then. Let us see what Emacs devs can suggest. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at