From unknown Thu Jun 12 14:57:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29592 <29592@debbugs.gnu.org> To: bug#29592 <29592@debbugs.gnu.org> Subject: Status: 25.3; python does not print input or output in the inferior process Reply-To: bug#29592 <29592@debbugs.gnu.org> Date: Thu, 12 Jun 2025 21:57:18 +0000 retitle 29592 25.3; python does not print input or output in the inferior p= rocess reassign 29592 emacs submitter 29592 Alex Branham severity 29592 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 06 13:59:22 2017 Received: (at submit) by debbugs.gnu.org; 6 Dec 2017 18:59:22 +0000 Received: from localhost ([127.0.0.1]:49438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMeuf-0008SM-Ng for submit@debbugs.gnu.org; Wed, 06 Dec 2017 13:59:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMeue-0008SA-FY for submit@debbugs.gnu.org; Wed, 06 Dec 2017 13:59:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMeuY-0000IC-Lo for submit@debbugs.gnu.org; Wed, 06 Dec 2017 13:59:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51065) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eMeuY-0000I3-HT for submit@debbugs.gnu.org; Wed, 06 Dec 2017 13:59:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMeuX-0008Pp-Bu for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2017 13:59:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMeuU-0000Ep-9p for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2017 13:59:13 -0500 Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:35456) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMeuU-0000ET-5N for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2017 13:59:10 -0500 Received: by mail-oi0-x22d.google.com with SMTP id 184so3256157oii.2 for ; Wed, 06 Dec 2017 10:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=zqSlPMFV8z0gZjZ+ozIuL5Wo96K1GSr0D/vSRGFAL7Y=; b=p74W6edd9Ix477+s3qsXeZvo4TzgH7bXyCRZNS3x7gbH9Iod/PiYfi43UiqS1mktDF ZnJb7DpFfZ3ZSGK1E1Qq6lOcTjH4BLKiCbLG4TnSWuhRM+OYmQRkEHFL/lByJeRDjqmj kkBcY2hrrjhmWSRurgQyARMxtFXnBUSL+g65Da9ZZom7vgRuvhfVqC0H380ekashX57X tnc6ttVp4Hn5Smn1b55g9rvXd1tF9SdHW6i+FFhr6fBCM2q63KSPIDysvGCVaZw9kPn1 4lf4zqcpJzpCd0x1cykGv2Ma3LawnHi1RnTp8EVQQKiI3Czx/XNGa0S6aiI6Wn4sjQzP 25aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=zqSlPMFV8z0gZjZ+ozIuL5Wo96K1GSr0D/vSRGFAL7Y=; b=QSnNywVoF8AduPWii3sJNDe0NChsj5C31cejlBgzJAFlkV1lKrit9rmLPA+MMXR93S TUdfiFjxiW5TttQBjwzh0xbZcHREmddTAibwpVLkdyGDXA9Tv5UG8V6XL74ug5JnEfRC nG3CU50wYf4b61/w3tb8smfqYdmihfnY2XYgOpPfAaQUZkv0pXZvW6PKvIo1PSp91RJl 5J0Th9x4LH3/TrkpBSu/RZoscAKUU7Wgfy1eFwA/ukxqK5Hi9ATPU8vYzQo4DMMBT/B7 meECqoXgGRJLEZznJPVKauDHjmYRx63il4IpNkcxKy06E1bnForYVAiOdSrIppbYoDXZ OEjw== X-Gm-Message-State: AJaThX4eYstllWmlD1AkxQwHtWn2JFFgOxD25SS0ZbXfoqe4lEf/EVIQ k4yMmrkqMv329rJ1ESTBujrkY2PF X-Google-Smtp-Source: AGs4zMYQ6hBF9LFySFBRZyyLjE1jN96bOnAsXlBldcc1X1apn5ADMZPAr9SxYeNxP2BkVIpxj/RYFA== X-Received: by 10.202.61.6 with SMTP id k6mr19015246oia.273.1512586748798; Wed, 06 Dec 2017 10:59:08 -0800 (PST) Received: from earth (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id d50sm1508582otf.8.2017.12.06.10.59.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Dec 2017 10:59:08 -0800 (PST) User-agent: mu4e 0.9.18; emacs 25.3.1 From: Alex Branham To: bug-gnu-emacs@gnu.org Subject: 25.3; python does not print input or output in the inferior process Date: Wed, 06 Dec 2017 12:59:06 -0600 Message-ID: <87indjel8l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) In python-mode (from python.el), writing import pandas as pd pd.Series([1, 2, 3, 4, 5]) after starting an inferior python process, selecting the buffer, and running M-x python-shell-send-region no output is printed in the process buffer even though the statements are evaluated. If you manually type pd.Series([1, 2, 3, 4, 5]) into the python process buffer, it prints 0 1 1 2 2 3 3 4 dtype: int64 I think ideally, Emacs should show that the statements are sent to the interpreter by printing them and also show their output so running python-shell-send-region from above would leave the inferior process buffer looking something like: >>> import pandas as pd >>> pd.Series([1, 2, 3, 4, 5]) 0 1 1 2 2 3 3 4 4 5 dtype: int64 >>> In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.19) of 2017-09-16 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 12 18:28:24 2017 Received: (at 29592) by debbugs.gnu.org; 12 Dec 2017 23:28:24 +0000 Received: from localhost ([127.0.0.1]:59077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOtyK-0000UR-0t for submit@debbugs.gnu.org; Tue, 12 Dec 2017 18:28:24 -0500 Received: from mail-it0-f43.google.com ([209.85.214.43]:42665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOtyH-0000U2-9n; Tue, 12 Dec 2017 18:28:21 -0500 Received: by mail-it0-f43.google.com with SMTP id p139so1735679itb.1; Tue, 12 Dec 2017 15:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=7wZ2LRgTX9vUGMbginf1yYqh9EkfiDX5zsR8+MoXOSM=; b=KqWb2o9G7yUW/aUhj3dRBCQYVmSx+nBS1/g7pnIT7vR03+vUA235NyAM52h63bkDMB SN5mN77RNZdChknSQAwH//XJ38Ol/bHBImSJjgZD20s5+9XcOJEs90iBWz5fQ3gFdVdv 4QnzBnQ8PPiLxSZQ8ouAA0/JfeBUzoPHFoHIDQS63lXZG7mAHH4DTVFyG6EagS9fWcoR E3eODYEKXLbY6R8C0Qkool5A09AbZP/Hn8VKNd0X0VYkgQApzq/Vt7Dv1Bk0f0BV3czZ NKWHPG7k+KIaah/k78RhB6ohVQZLvp8r1CRpwiVsIaxg+szwhNydhVoZUrweIVPYze5+ FxVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=7wZ2LRgTX9vUGMbginf1yYqh9EkfiDX5zsR8+MoXOSM=; b=elL7jhT64DCCMsah2vooTEtreyNT02VDylbLblR5OT9ZtSlxEejjdKaznR3LJdbeIh FK0IcASKtk4tKbXvP9HV2nRCwIgNUFjGkMDB8ptIHN6c1dtgsY4pqeQNfswccMwSmEhz tUJ6p59b4w7l7/9/w4GzTlSPip77d2VO0ByixgrJfmBGsN+BC5b6yWpv1i3rDaW2dfh5 bfDp8wJcD6stOPIdgZdhibR5U2SItrgMlS+kAm7OjUkVrCgbZiX9NJiu53HTWnw776Ie f5QX8BARn7wO7JL90ANdNCGzHDDlO67iVej5SOpJiLhPHQltnQY7eBRABPGiFga26FyS 4TdA== X-Gm-Message-State: AKGB3mIl1bZpf1UwyNz6mT3reFsdKIiyZH9FVPJ0DWgMN/ClOFBpd1ca uBvU9hFo1ZPfNsdJc85i8fJ9pFWJ X-Google-Smtp-Source: ACJfBotOxKNih8OpsiHjxWM7PsqhyuKODNSMC6J5vu8Pbcqx7/oDGBFhuEAb+wFoGrkTULHr3S0yRA== X-Received: by 10.36.91.15 with SMTP id g15mr581097itb.141.1513121295691; Tue, 12 Dec 2017 15:28:15 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id d128sm154141iod.35.2017.12.12.15.28.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2017 15:28:14 -0800 (PST) From: Noam Postavsky To: Alex Branham Subject: Re: bug#29592: 25.3; python does not print input or output in the inferior process References: <87indjel8l.fsf@gmail.com> Date: Tue, 12 Dec 2017 18:28:01 -0500 In-Reply-To: <87indjel8l.fsf@gmail.com> (Alex Branham's message of "Wed, 06 Dec 2017 12:59:06 -0600") Message-ID: <87o9n3cyri.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 29592 Cc: 29592@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) severity 29592 wishlist quit Alex Branham writes: > In python-mode (from python.el), writing > > import pandas as pd > pd.Series([1, 2, 3, 4, 5]) > > after starting an inferior python process, selecting the buffer, and > running M-x python-shell-send-region no output is printed in the process > buffer even though the statements are evaluated. > > If you manually type pd.Series([1, 2, 3, 4, 5]) into the python process > buffer, it prints > > 0 1 > 1 2 > 2 3 > 3 4 > dtype: int64 > > I think ideally, Emacs should show that the statements are sent to the > interpreter by printing them and also show their output so running > python-shell-send-region from above would leave the inferior process > buffer looking something like: > >>>> import pandas as pd >>>> pd.Series([1, 2, 3, 4, 5]) > 0 1 > 1 2 > 2 3 > 3 4 > 4 5 > dtype: int64 >>>> python-shell-send-region works by saving to a temp file, and loading that. I think sending each statement separately should be a separate command. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 27 18:43:11 2018 Received: (at control) by debbugs.gnu.org; 27 Feb 2018 23:43:11 +0000 Received: from localhost ([127.0.0.1]:36150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqotq-00062R-Pb for submit@debbugs.gnu.org; Tue, 27 Feb 2018 18:43:10 -0500 Received: from mail-it0-f51.google.com ([209.85.214.51]:35836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqoto-00062A-QW; Tue, 27 Feb 2018 18:43:09 -0500 Received: by mail-it0-f51.google.com with SMTP id v194so1315882itb.0; Tue, 27 Feb 2018 15:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ga7nCmOV/sJF3bf3ZcksUdHl6JSHkZTg4l4ry3frKWs=; b=H+Gl/u/wmqRNfFCz6xJmyZdMRG6/8XClXwOICsm/blbu9EViQgNfxmPe1SOU0OBV9f go6/i+dHySEWmOZqDHaaZRzUFyLl9LLp1Zzn/XW3vcSuIR1q5CiZsUt6PceTdL66a9t/ VXnTMLTNk7A/uvppI6pS2HJqMlCQd1NTOiyjG4wcuWjPYkFDfUg0JfkHhOrYEJKsFuwV 8iS1van8p5TmFqr7xYG2MMYUBt0h7NVLitJJ0l8c0knGkMLX+ujlHRHw08z/Z15hPYlk HXX2bNyTphCMiyUO1U+jOnGxcRMeIIu0tyne0h3MuMoCuXhd1UA4pNc18s8NLTIPu54A DOGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ga7nCmOV/sJF3bf3ZcksUdHl6JSHkZTg4l4ry3frKWs=; b=hK1lv3i8++wF6ygXugV/Hk1ePrthFDPcy2OLkpS7XIWkCrRNzkqw9cpy/XZffd3MCe MzznWKVC7ALI/rkbU9lob29qO3t3I5vMi+VAuVDeBX0SeRbYF0lTRRnwQlcAKK4DolDP 3+V3GRD6+f6knsBFp2C3zAeTpiCidqgkIMKMixmeEIwFVsHeIGaTFvi2T66BGjqVhYtj K+Va/9gsPrO8s0VI7u/xWkX8GlB4N1zo6FpAioDv+KjJwpN858t0Da8zROxy+7DIGGDf FEXaZ0aJJf+emwbP6WJlTDNz37r9TW5YAmzwVv7D1w0BExw295dLTZ1N9UxYbD6vZNI3 RiNQ== X-Gm-Message-State: APf1xPAazolAWtz61rcLMWyT4vQPHp0rgM6bJ0RPMirfM1/TuneiCcgn mHi5qgxnFaUvt5uQAMjsfkMRlA== X-Google-Smtp-Source: AG47ELs1yiJAIo0sUDPO9o+sNW8w4F3CxngF4vkykUg6ciaYl81CpWdFghNHP2ZxKadpRqN9FEYozw== X-Received: by 10.36.40.83 with SMTP id h80mr17956569ith.125.1519774983055; Tue, 27 Feb 2018 15:43:03 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id w37sm228428ioi.1.2018.02.27.15.43.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Feb 2018 15:43:02 -0800 (PST) From: Noam Postavsky To: Alex Branham Subject: Re: bug#30632: 26.0.91; python sending code to shell should show the code sent References: <87606ifgvz.fsf@gmail.com> <87371mf7m6.fsf@gmail.com> Date: Tue, 27 Feb 2018 18:43:01 -0500 In-Reply-To: <87371mf7m6.fsf@gmail.com> (Alex Branham's message of "Tue, 27 Feb 2018 15:25:05 -0600") Message-ID: <87r2p63soq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: 30632@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) merge 30632 29592 quit Alex Branham writes: >> Is this different from Bug#29592 "python does not print input or >> output in the inferior process"? > > No, it's not. I couldn't sworn that I reported this before but couldn't > find the report. Sorry for the noise, you can close this. No problem, merging. PS the bug searching options aren't great, but I find doing a title search with the main topic keyword is usually enough to narrow things down. E.g., "python" in this case (though you'll see only the newer bug in the listing after they've merged): https://debbugs.gnu.org/cgi/pkgreport.cgi?package=emacs;include=subject%3Apython From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 16:58:49 2022 Received: (at 29592) by debbugs.gnu.org; 25 Feb 2022 21:58:49 +0000 Received: from localhost ([127.0.0.1]:53873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNibx-0002lA-DW for submit@debbugs.gnu.org; Fri, 25 Feb 2022 16:58:49 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNibv-0002ku-MM for 29592@debbugs.gnu.org; Fri, 25 Feb 2022 16:58:48 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 67BB75C02DC; Fri, 25 Feb 2022 16:58:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 25 Feb 2022 16:58:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sturm.com.au; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=KmBh/Jo9usHsQ0qJRv3u2TTGdzmbZeBzRR657d +KXBo=; b=rbf86g9Jb/BUSzRF25qQohm4gYQ6CLkdKTj5EiH+o62F7om+mpmr3K TO5YTBs4SocJy7/0wcbo+ZJu6L+00FqZTRyOqkMUiaF2K9Kr1GoxYmLE6J6ivVZH AVseOlYEAXydnyIraUKs4La5nMPshnfnTv+kwtlLNPTyK0g2TzfDlDycPIp02a0d cXT7TUNVNTOIRLvXvRwuCuoXVmCVt6iMtEzj8mta6UNAwzpnvRdG6jeNKIeormEF LOAI8Oo3VozUHq9aGeGeetxUsL+D584XZj73FLzWRC57VIQe7R2vPZavoJgjgu6V ItH80D4MIrXnndTX1SfsnFDfK/FPH/Kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=KmBh/Jo9usHsQ0qJR v3u2TTGdzmbZeBzRR657d+KXBo=; b=l0gXtTgzjk2RR7W4vWAphy2nP0U3addwR nfBZioamB7HQUR2AOgrGsjcFUMWQhnA2EH81JEIuGKUNGKJS9XsxeaoR/TwP+e7y PfEMLv9HtJMHATLOZliLyEmlmOILKLstLzFVT1AQP6uEBDTfWcEEhiJpHko402vJ oypSTckZvA1giEJMpYPZbqcnN2AaFH4JsJM15OUhxzXAMeOasLV7aPvv5L/bx6ND OXA+2RsDop07npK14CA5du9mJl95IxW0vdilk35katGWf/WkNWnNyRMsUFe771m4 lGsCDv/dXFN2kQzzxR5azpfy5ivBuZA0flXRZxpLQZR4cIgcvnI+A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrleeggdduheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpeeuvghnucfu thhurhhmfhgvlhhsuceosggvnhesshhtuhhrmhdrtghomhdrrghuqeenucggtffrrghtth gvrhhnpeeuteejffefleehjedukeegfefgleevvdeufeefueethfefueetkeefkeeljeet hfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsvg hnsehsthhurhhmrdgtohhmrdgruh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Feb 2022 16:58:40 -0500 (EST) Received: from Marseille (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 88299d3d; Fri, 25 Feb 2022 21:57:38 +0000 (UTC) From: Ben Sturmfels To: Alex Branham Subject: Re: bug#29592: 25.3; python does not print input or output in the inferior process References: <87indjel8l.fsf@gmail.com> Date: Sat, 26 Feb 2022 08:57:38 +1100 In-Reply-To: <87indjel8l.fsf@gmail.com> (Alex Branham's message of "Wed, 06 Dec 2017 12:59:06 -0600") Message-ID: <8735k6obhp.fsf@sturm.com.au> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29592 Cc: 29592@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, 06 Dec 2017, Alex Branham wrote: > In python-mode (from python.el), writing > > import pandas as pd > pd.Series([1, 2, 3, 4, 5]) > > after starting an inferior python process, selecting the buffer, and > running M-x python-shell-send-region no output is printed in the process > buffer even though the statements are evaluated. I found that Python REPL output is displayed only if the python code is on the first line of the buffer. Is this the same for you Alex? For example, running `emacs -q`, I open /tmp/foo.py, and M-x run-python (C-c C-p) to open the Python REPL. Then I switch focus back to the foo.py buffer and enter 'abc' on the first line, including quotes. I run M-x python-shell-send-statement (C-c C-e), Emacs says 'Sent: "abc"...' and '>>> abc\n' is displayed in the REPL. If I add a newline before 'abc' and repeat, it says 'Sent: "abc"' and only ">>> " is printed to the REPL. Same issue when using M-x python-shell-send-region (C-c C-r) and explicitly highlighting the 'abc' when it's not the first line in the buffer. I'm using GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0). Windowing system distributor 'The X.Org Foundation', version 11.0.12101002. System Description: Guix System Regards, Ben From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 18:00:58 2022 Received: (at 29592) by debbugs.gnu.org; 25 Feb 2022 23:00:59 +0000 Received: from localhost ([127.0.0.1]:53900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNja6-0004Xy-GL for submit@debbugs.gnu.org; Fri, 25 Feb 2022 18:00:58 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:54963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNja3-0004Xg-RI for 29592@debbugs.gnu.org; Fri, 25 Feb 2022 18:00:57 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7CC4C5C024A; Fri, 25 Feb 2022 18:00:49 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 25 Feb 2022 18:00:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sturm.com.au; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=rKIQTV3l+smjneK+XqHa4gh9WDegj1SQPsgE0q LcKgs=; b=NMpjkQyBBwCwvtJUYM+xy9DXKmh4aJH6I3wrzeHWFLwSonOsOWsOET EmrUjDZjC6tKmoKVufWs5rVH7vgMGFSyp9iTQLdPvGljz78hQBTlQp+hmqfjlLQ7 vViIuMEZOM2yGziA57ZKMOTtJXrD3Brf3XySpwonQPr4y146XbnF0rcqYHxjkclc n65wC1Oqf6E3gokq0C9z9eA416plKO0k6D/BTr/IZ+u3mgyF3WO2uU+y2m5UZugB F2wInj42g5VkeBiIs9Tc/9k1KDepW6nd014TzwSuBAmf40bvihwoMufxMUAGcSoR 95LamUFM7Lw8iqxazQHV3MfqdZ+x0+Fw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=rKIQTV3l+smjneK+X qHa4gh9WDegj1SQPsgE0qLcKgs=; b=WZsxxIXdMt1GRkxAc6ic5AccAwo68p9cl PaSJ3aM074TwxmIrAFO1KjsoKvYp51TjlcZX+meloqJJ8Bb66/lXKyPUUajI4KwN westQdW7mtdk2ievjTgQKV+vqiiGHw+Uyx/MzdljC3j3QM33KrEX1V4hqour6w7a zb4yh8WIwcE1FADfPhrCyRB6LOKPtzduDVmeatv2aD7OGyLJQGCm9PU8Pm0ZluLW xSBVLOV0014vSm16m9HngG6iDjO5yeqiWeP26im3ZUm3alk9phnVTzjXngmJ01VG cQPdNwba59NTmhQY7UgeT5WJaCy9P7oKBZwwd206uTZrAQhYQe7Mg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrleehgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgesthdtredttdertdenucfhrhhomhepuegvnhcuufht uhhrmhhfvghlshcuoegsvghnsehsthhurhhmrdgtohhmrdgruheqnecuggftrfgrthhtvg hrnhepfeeghefggfeludeiieethfefgfffhfduffeklefgieduieetjefhfeetfeejudef necuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpegsvghnsehsthhurhhmrdgtohhmrdgruh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Feb 2022 18:00:47 -0500 (EST) Received: from Marseille (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 85df966b; Fri, 25 Feb 2022 23:00:45 +0000 (UTC) From: Ben Sturmfels To: Alex Branham Subject: Re: bug#29592: 25.3; python does not print input or output in the inferior process References: <87indjel8l.fsf@gmail.com> <8735k6obhp.fsf@sturm.com.au> Date: Sat, 26 Feb 2022 10:00:35 +1100 In-Reply-To: <8735k6obhp.fsf@sturm.com.au> (Ben Sturmfels's message of "Sat, 26 Feb 2022 08:57:38 +1100") Message-ID: <87tucmft64.fsf@sturm.com.au> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29592 Cc: 29592@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) The GitHub ticket below for elpy also mentions this issue and includes some "quick-and-dirty" that does seem to address the issue. The code works, but I get an extra line break in the REPL when evaluating lines other than the first line of the buffer. https://github.com/jorgenschaefer/elpy/issues/924#issuecomment-314922197 > This is not an elpy issue, it also occurs with plain python-mode. It > seems to be caused by certain versions of Python only. A quick-and-dirty > fix is (in .emacs): > > (defun python-shell-append-to-output (string) > (let ((buffer (current-buffer))) > (set-buffer (process-buffer (python-shell-get-process))) > (let ((oldpoint (point))) > (goto-char (process-mark (python-shell-get-process))) > (insert string) > (set-marker (process-mark (python-shell-get-process)) (point)) > (goto-char oldpoint)) > (set-buffer buffer))) > > (defadvice python-shell-send-string > (around advice-python-shell-send-string activate) > (interactive) > (let* ((append-string1 > (if (string-match "import codecs, os;__pyfile = codecs.open.*$" string) > (replace-match "" nil nil string) > string)) > (append-string2 > (if (string-match "^# -\\*- coding: utf-8 -\\*-\n*$" append-string1) > (replace-match "" nil nil append-string1) > append-string1)) > (append-string > (if (string-match "^\n*$" append-string2) > (replace-match "" nil nil append-string2) > append-string2))) > (python-shell-append-to-output > (concat (string-trim-right append-string) "\n"))) > (if (called-interactively-p 'any) > (call-interactively (ad-get-orig-definition 'python-shell-send-string)) > ad-do-it)) From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 26 11:26:14 2022 Received: (at submit) by debbugs.gnu.org; 26 Feb 2022 16:26:15 +0000 Received: from localhost ([127.0.0.1]:56224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNzte-0001Mg-Kz for submit@debbugs.gnu.org; Sat, 26 Feb 2022 11:26:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:46660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNztd-0001MZ-9L for submit@debbugs.gnu.org; Sat, 26 Feb 2022 11:26:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNztd-0002tC-35 for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2022 11:26:13 -0500 Received: from [2a00:1450:4864:20::632] (port=41632 helo=mail-ej1-x632.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNzta-0007pH-Sj for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2022 11:26:12 -0500 Received: by mail-ej1-x632.google.com with SMTP id a8so16651067ejc.8 for ; Sat, 26 Feb 2022 08:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=LTN88endYxRSW2R70Xk8+HAWRZyvliTPTVIxYJVODLo=; b=Gmp5glEj4KzYSTRnVXXKIUGpy3ho6xytzEtvAXFRjZ2zKssZTy8RhEN9gOF4iCDG+Z aGn5wsw5EiqwnBoWKlrfkR0tmRHM4h7B1hSvOc1iWWxob3ITxxAAb0Izuji4ndMGpJ3R Bw4UFIBWaxSCjF//gEEl6/YczWLVcaejipEev9gt52fcEEB4W3nbw5YJYR4b5/h+rdAD uoQYwLiGttGWZql+bh2Hr8uSH+CrjAGr/l9LP1nvFyGDioYb3VHp0r/Oc+xmZh7LXtvC ncsy956rZUFfKNVBQOQkzUCRRR0G8JApgcVl1PCNx7PHp2XSQ+XjdHEUNIPIcDW/mzNm m5lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=LTN88endYxRSW2R70Xk8+HAWRZyvliTPTVIxYJVODLo=; b=PW9cH9MGwz2X/35fot3Y+vDsTGQqKE5o9k8IwIs5x/0pELRunLyayLlLNkLf4Cx0V4 4lBjcfNpBler4vXOYI/Gn6j5XXFZWIqyDoJPi5pXjcjKx6V1A6PIwfmXvQ4aNyXsRKpD 6XeE+eulG6N4Xp0TgcZbmGKATyl4oTupQLmRVkVc0uQbYcTG9kSXUo3xSOsXGk9ChX2N t+ZFoXLk/YwgjcomA6o66yfJwud1b0UMYik0toKn3uidPbdcLkw3PldQfUWQz7EZ5ViR LBwOBwNPs121Kxg1kc0dHcayrfjfN0rav5+pOGqpmXgIAgYQJrUFTv+X5AjbaoGVI1pc 8ivg== X-Gm-Message-State: AOAM533nJm4K9PTuXoSj9FnBvF1Hwc+Q3JwWdAK/sU6b3JZU0p/HdXX4 xvrLs/vtJJHOshCtKtFZ43E= X-Google-Smtp-Source: ABdhPJw9jUbKxnpN2ATD3DbkUKUVHJBv3DHw3I85GgoTWpM83gcgeHiF6FV7nd6qMaNjud5O/5NS2Q== X-Received: by 2002:a17:907:1c9f:b0:6ce:e4e5:a6d2 with SMTP id nb31-20020a1709071c9f00b006cee4e5a6d2mr10241592ejc.304.1645892769242; Sat, 26 Feb 2022 08:26:09 -0800 (PST) Received: from ars3 ([2a02:8109:8ac0:56d0::758e]) by smtp.gmail.com with ESMTPSA id p14-20020a05640210ce00b00413211746d4sm2978030edu.51.2022.02.26.08.26.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 08:26:08 -0800 (PST) From: Augusto Stoffel To: Ben Sturmfels via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#29592: 25.3; python does not print input or output in the inferior process References: <87indjel8l.fsf@gmail.com> <8735k6obhp.fsf@sturm.com.au> Date: Sat, 26 Feb 2022 17:26:07 +0100 In-Reply-To: <8735k6obhp.fsf@sturm.com.au> (Ben Sturmfels via's message of "Sat, 26 Feb 2022 08:57:38 +1100") Message-ID: <87ee3piogw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::632 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x632.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Alex Branham , Ben Sturmfels , 29592@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On Sat, 26 Feb 2022 at 08:57, Ben Sturmfels via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > On Wed, 06 Dec 2017, Alex Branham wrote: > >> In python-mode (from python.el), writing >> >> import pandas as pd >> pd.Series([1, 2, 3, 4, 5]) >> >> after starting an inferior python process, selecting the buffer, and >> running M-x python-shell-send-region no output is printed in the process >> buffer even though the statements are evaluated. > > I found that Python REPL output is displayed only if the python code is > on the first line of the buffer. Is this the same for you Alex? > > For example, running `emacs -q`, I open /tmp/foo.py, and M-x run-python > (C-c C-p) to open the Python REPL. Then I switch focus back to the > foo.py buffer and enter 'abc' on the first line, including quotes. I run > M-x python-shell-send-statement (C-c C-e), Emacs says 'Sent: "abc"...' > and '>>> abc\n' is displayed in the REPL. If I add a newline before > 'abc' and repeat, it says 'Sent: "abc"' and only ">>> " is printed to > the REPL. > > Same issue when using M-x python-shell-send-region (C-c C-r) and > explicitly highlighting the 'abc' when it's not the first line in the > buffer. > > I'm using GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.30, cairo version 1.16.0). Windowing system distributor 'The X.Org > Foundation', version 11.0.12101002. System Description: Guix System This was fixed in Emacs 28. > Regards, > Ben From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 27 07:59:07 2022 Received: (at 29592) by debbugs.gnu.org; 27 Feb 2022 12:59:07 +0000 Received: from localhost ([127.0.0.1]:56989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOJ8k-0007M3-PV for submit@debbugs.gnu.org; Sun, 27 Feb 2022 07:59:06 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOJ8i-0007LW-9s for 29592@debbugs.gnu.org; Sun, 27 Feb 2022 07:59:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=buH8wYahraOfogXkUMMohfLofLiRsHVYZEq94UTEgLM=; b=OyPcM6cI4uOWqeZmpwaOxpO+wF KzQ4YIsltMITUBpHMGzy/LqVlufyfi9uUltd4rAIfFPxNC+yYhR2AKNFy9k7QrddsW1VaaqIo8b+U 6wpTVjHK8AbWMFxGdr+L8cMtOMjh8jzpJtCrOCq11JK8TcHNXP/OAI91D2nUSTfbWNMk=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nOJ8X-00026K-O5; Sun, 27 Feb 2022 13:58:57 +0100 From: Lars Ingebrigtsen To: Augusto Stoffel Subject: Re: bug#29592: 25.3; python does not print input or output in the inferior process References: <87indjel8l.fsf@gmail.com> <8735k6obhp.fsf@sturm.com.au> <87ee3piogw.fsf@gmail.com> X-Now-Playing: Tom Tom Club's _Tom Tom Club_: "Wordy Rappinghood" Date: Sun, 27 Feb 2022 13:58:51 +0100 In-Reply-To: <87ee3piogw.fsf@gmail.com> (Augusto Stoffel's message of "Sat, 26 Feb 2022 17:26:07 +0100") Message-ID: <878rtwtqic.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Augusto Stoffel writes: >> I'm using GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version >> 3.24.30, cairo version 1.16.0). Windowing system distributor 'The X.Org >> Foundation', version 11.0.12101002. System Descrip [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29592 Cc: alex.branham@gmail.com, ben@sturm.com.au, 29592@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Augusto Stoffel writes: >> I'm using GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version >> 3.24.30, cairo version 1.16.0). Windowing system distributor 'The X.Org >> Foundation', version 11.0.12101002. System Description: Guix System > > This was fixed in Emacs 28. OK; I'm closing this bug report, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 27 07:59:14 2022 Received: (at control) by debbugs.gnu.org; 27 Feb 2022 12:59:14 +0000 Received: from localhost ([127.0.0.1]:56992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOJ8s-0007MP-05 for submit@debbugs.gnu.org; Sun, 27 Feb 2022 07:59:14 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOJ8q-0007MB-Qz for control@debbugs.gnu.org; Sun, 27 Feb 2022 07:59:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type: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=j3Rs0U/FqrfUbQvi5wXQyhGgLLoyI8vc2VpkrS0JFio=; b=NORRIk0cwEahWcTJEmyJqWAGbk 9Pj1EK3k3uTIIr5za9gHASoQGyS+4dgc7aWkYsCBGMfJV3PRwTtMHIdh6G/Y/0hQPJqKBvrmvPWZI 3yUyHJDsp6ILX8nhsNZGVe82bV+Z5PpHFQ3jGVYsFxZnROkTHRsOBKmsYfhVMo0RSzEI=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nOJ8i-00026W-A1 for control@debbugs.gnu.org; Sun, 27 Feb 2022 13:59:06 +0100 Date: Sun, 27 Feb 2022 13:59:00 +0100 Message-Id: <877d9gtqi3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #29592 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 29592 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 29592 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 27 17:58:46 2022 Received: (at 29592) by debbugs.gnu.org; 27 Feb 2022 22:58:46 +0000 Received: from localhost ([127.0.0.1]:59530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOSV4-0004LZ-99 for submit@debbugs.gnu.org; Sun, 27 Feb 2022 17:58:46 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:45625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOSUw-0004LB-Va for 29592@debbugs.gnu.org; Sun, 27 Feb 2022 17:58:45 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id A20AC3200AF3; Sun, 27 Feb 2022 17:58:32 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 27 Feb 2022 17:58:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sturm.com.au; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=7p55SueBuqWaTffIsYzha1L8KKisQkuXTWJkE2 WOYIo=; b=SxS2EPs5KZmWm5cPIJEz3dyxm711FJwbHM4aMeWPdMlzaTDC3/Ztkv kq7gJ1mrlu+YUaQ3lPirE8/cTgS5G8e0qcsUoX0H93IwZ5HyLzUitNjJra/bFY96 B447w5nZBrIcUexcgytmD3ZqZja+dIcKAIe1sTiulLwAzbsUUAJTSCLFvUwiSxFN rKtE7StiUyAEVPZZZ5/ntXnJ7A+p5BuiX2A6ym+kjJqFbEfdBwTBBatHQm04PXx1 uBuUV+dF61I3pTwXAddGl+LSDKdfQ5d4BUFqcERXrdmUyfywdo30PEETrNv6qnXs kEF/Q+VajqrFiC/qnwGMF3dhlMXGArOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7p55SueBuqWaTffIs Yzha1L8KKisQkuXTWJkE2WOYIo=; b=co8uZC8OvVXhrz7b7IlhXk/OigRan+zI6 bzACMO6x7ud9J6MROq7fVzMxpo5yuku+Gl9D4ThX8J+IuV16slPzsg8R2+VJfBQo WUK5k4ml1uGybH48Ih3LA9gCoT2YP+eMX5fB77D9/FezDyWtncpajLB64m2dlfrL /A3/4fh5GX2P/QbuhQU2PpO8q+OvMSv3dlPEt2cj6zw7CXHqDC0cAg7vcVdtn00J toVl1+4UL2Pr2HZZbKrIJbYV++1rbcmOg5o7n9ftmHSZ3HFXMt6DvYcmcX6+gdE3 zv3cv4eej0Eslykai++8pzP/2OEjGw7nPoiUeScJkOPkuAzFTW+GQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrleelgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesthdtredttdertdenucfhrhhomhepuegvnhcuufht uhhrmhhfvghlshcuoegsvghnsehsthhurhhmrdgtohhmrdgruheqnecuggftrfgrthhtvg hrnhephfeujefgleevheefhedthffgtdetgeduueeijeduieeuteekfffgkeevveffteef necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsggvnh esshhtuhhrmhdrtghomhdrrghu X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 27 Feb 2022 17:58:30 -0500 (EST) Received: from Marseille (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 9a6f7e66; Sun, 27 Feb 2022 22:58:26 +0000 (UTC) From: Ben Sturmfels To: Augusto Stoffel Subject: Re: bug#29592: 25.3; python does not print input or output in the inferior process In-Reply-To: <87ee3piogw.fsf@gmail.com> (Augusto Stoffel's message of "Sat, 26 Feb 2022 17:26:07 +0100") References: <87indjel8l.fsf@gmail.com> <8735k6obhp.fsf@sturm.com.au> <87ee3piogw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Date: Mon, 28 Feb 2022 09:58:22 +1100 Message-ID: <87a6ebx6gh.fsf@sturm.com.au> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29592 Cc: alex.branham@gmail.com, 29592@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, 26 Feb 2022, Augusto Stoffel wrote: > On Sat, 26 Feb 2022 at 08:57, Ben Sturmfels wrote: > >> I'm using GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version >> 3.24.30, cairo version 1.16.0). Windowing system distributor 'The X.Org >> Foundation', version 11.0.12101002. System Description: Guix System > > This was fixed in Emacs 28. Thanks so much Augusto! I've just built Emacs 28.0.91 and can confirm that the python-shell-send-statement output is showing in the REPL. :) Regards, Ben From unknown Thu Jun 12 14:57:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Mar 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator