From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] python.el: Returning inferior Python output without inhibiting it Date: Mon, 02 Oct 2023 08:54:06 +0300 Message-ID: <837co58t8h.fsf@gnu.org> References: <87msx2ib0c.fsf@gmail.com> <83fs2u8ehy.fsf@gnu.org> <87jzs6hz26.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36660"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Jack Kamm , kobarity Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 02 07:55:01 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qnBtU-0009BH-C2 for ged-emacs-devel@m.gmane-mx.org; Mon, 02 Oct 2023 07:55:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnBsl-00020Y-8G; Mon, 02 Oct 2023 01:54:15 -0400 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 1qnBsg-0001zK-2C for emacs-devel@gnu.org; Mon, 02 Oct 2023 01:54:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnBsf-0001P3-10; Mon, 02 Oct 2023 01:54:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=N+cqwEKNFONyzGQwSf2oC8cmGm7HZNjtoNbm4wOPbxc=; b=bN23TqMEOUQR 659x9aDujfcyiqQja5zegDKH9y/PmxpFnlm1bmrtCNItNc18GejF/uQVI1CmTnYQ0YI0noaeRCj5j M+cBzYk3g1WNydr+qYsMbIVsaXcIOltt0R1VXeGRsRfdJD6pS+kxcoicnXKRZ35S5X1z0eBuikPSc C5+6lwe/jheVtMcVHOhLhYC/lNIply+lOf7V3jpOSMSAS69znbUv1grlf0rlLc8jSojqgLN5Iuzlp rIET0xYhXCtQE8P9yS1McI+Ykge3BRD0FqfSkV7yM1aGU22ERkMpwWt7LTlqvB9Ncm6M/q/v81ah9 LFqZM7vPQcoWlKVyapGC4w==; In-Reply-To: <87jzs6hz26.fsf@gmail.com> (message from Jack Kamm on Sun, 01 Oct 2023 13:23:29 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311231 Archived-At: > From: Jack Kamm > Cc: emacs-devel@gnu.org > Date: Sun, 01 Oct 2023 13:23:29 -0700 > > Eli Zaretskii writes: > > > I think instead of renaming (which then requires us to add an obsolete > > alias), it would be better to leave python-shell-send-string-no-output > > available, but just make it a thin wrapper around > > python-shell-send-string-return-output (which I would suggest to name > > python-shell-send-string-maybe-output instead). This way, we don't > > annoy Lisp programs that use python-shell-send-string-no-output with > > obsolescence warnings. > > Thanks for the feedback -- I've updated the patch accordingly (attached). Thanks. kobarity, any comments or suggestions?