From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#49822: 28.0.50; python-shell-send functions show no output Date: Sun, 15 Aug 2021 08:41:45 +0200 Message-ID: <51fa5c12-53b4-ad92-505f-1896d955b68c@easy-emacs.de> References: <855f9eaf1b1d39bb9325d0a88e7f66c0ba0b45d0.camel@gmail.com> <87r1f9fzj4.fsf@gnus.org> <87im0a6789.fsf@gmail.com> <8735rdha6y.fsf@gnus.org> <69e713da-5186-780a-f0b7-8099ce6cde3d@easy-emacs.de> <87h7fsnzmo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30228"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 Cc: 49822@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 15 08:43:19 2021 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 1mF9ra-0007dK-Bf for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Aug 2021 08:43:18 +0200 Original-Received: from localhost ([::1]:55726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mF9rY-0005mW-AH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Aug 2021 02:43:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mF9rK-0005mN-HO for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 02:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mF9rK-0004Za-A4 for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 02:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mF9rJ-0002A6-JL for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 02:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Aug 2021 06:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49822 X-GNU-PR-Package: emacs Original-Received: via spool by 49822-submit@debbugs.gnu.org id=B49822.16290097238239 (code B ref 49822); Sun, 15 Aug 2021 06:43:01 +0000 Original-Received: (at 49822) by debbugs.gnu.org; 15 Aug 2021 06:42:03 +0000 Original-Received: from localhost ([127.0.0.1]:45639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF9qJ-00028U-PZ for submit@debbugs.gnu.org; Sun, 15 Aug 2021 02:42:03 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:53541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF9qF-00028C-6U for 49822@debbugs.gnu.org; Sun, 15 Aug 2021 02:41:59 -0400 Original-Received: from [192.168.178.63] ([94.134.177.35]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MHWvH-1mJmP70Gav-00Dabh; Sun, 15 Aug 2021 08:41:48 +0200 In-Reply-To: <87h7fsnzmo.fsf@gmail.com> Content-Language: en-US X-Provags-ID: V03:K1:uzQvX8k7mzl8HwtDzm7Roi6VBxLTCCRPE/IGJaoXXYjWjyypx7U twyZT83B5geuOSEjBXatdar0WBnUl45u3F8fCKfhtIq8HxX/5amLQjbQrWoEck2/O9TcwDF /gHCpFD+tzRC0qPMNHsYNQ0AnKBxUXH9GFMXKEhnFIgJcj5JalbO7dDXPDYm7ITjApJ17gT 3hBrzAyd05HHJcOBq8Hrg== X-UI-Out-Filterresults: notjunk:1;V03:K0:0TmMUbPNmPc=:yTlstTMeTK+Ha6ONZ6L04d eXxgO0g6dqJogs5q8SwuXsbp2qbTW11Ocr3N9q18bCFyZlIcTf9kkBszPjHxjiXQRiuGz5CgR 2530KsbZRCbF7wqtuVDzt+QjTR04zdKmAQ7XnufZqU1jEdMd/oUCPgYYIwHxLiFqTPHWvUACY d4d72jCbkfPf1X1zDcgdGeZRXVI6MIQGEjqxOIVbx1m+qN6OoLuMkxOKTWgDuk2Q2MnBwrVFM 512B4oCcq3I7EmGaLKc5tDfZSeRfnglF1D7SUzF8qeaAz8/SnwAAKt3mU7TjDwyedY/xs7p5c N9ZyY8dSiUGCQZDgjembrnnWj8Rq1buy9mJdMx8yT5ucmss858zGNm5TRy2pfte52M33kV+j2 Gw4KnX38o6pi1TxeSYSitOkuscKIvQFjlbTYLuZy6/oWycPTr/GZv+/VcWxfISxyj4r3cAy3M plS1NCAY+Jimlj6VrJX/jLWwETOr/mAy4yWCJl21YUgvSNYPAJSQWZulkH/XGjoaZOqQA989f ZLuRs8+a3nDEsj7XS+wRAw66s5Nt0m8hX+qJNI3uNbdYle649AbRh/snVrhEiEIbKgROGMif9 KBvkkeUG8t+hHHf+0k+wcXXd4RGq5o2rg92TZY67HnQrbUrSy65upzaAi1QP9Vx2j6ZS9cscQ PCxiCEPEUOz+IfWz/GWgFEvuLhUoho78WNqI0DG9W7/7/Hu6ynWirizxBtYcHFT1L0hIEiw88 gaCE3g/kGO6Q4aD0uelhzCjYPuWMldCPbM2ISW+dmh95hq8uLiFTN4x/KrRLkkeWeevXndWl 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" Xref: news.gmane.io gmane.emacs.bugs:211868 Archived-At: On 14.08.21 11:29, Augusto Stoffel wrote: > On Fri, 13 Aug 2021 at 18:44, Andreas Röhler wrote: > >> Hmm, a buffer is not an interactive shell. Putting a print() around >> should do it. > I'm not sure I get your point. Evaluating an expression should print > the result, no? It's the P in REPL. Python's interactive prompt offers a slightly different behavior than running code through a plain Python interpreter. I understand the code in a buffer as something which is executed as a program. If you run a program by a python interpreter, if it outputs something, that depends.