From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files Date: Mon, 06 Sep 2021 23:15:33 +0100 Message-ID: <86h7exxse2.fsf@gmail.com> References: <20210903122828.16890.65271@vcs0.savannah.gnu.org> <20210903122829.EAAC220B71@vcs0.savannah.gnu.org> <87r1e4eklw.fsf@gmail.com> <87v93fnfmm.fsf@igel.home> <87lf4aooge.fsf@gmail.com> <878s0a409g.fsf@gmx.de> <87ilzef65i.fsf@igel.home> <878s0aeyna.fsf@gmx.de> <87r1e1ex7z.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40841"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) Cc: emacs-devel@gnu.org To: 49822@debbugs.gnu.org Cancel-Lock: sha1:HAP+nfeRWYsP/cUqbIzsY7C4KTI= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 07 00:16:15 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 1mNMuR-000AKw-EO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Sep 2021 00:16:11 +0200 Original-Received: from localhost ([::1]:45890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNMuP-0001f2-FO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 18:16:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNMuI-0001em-JP for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 18:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNMuI-0003JM-Bm for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 18:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNMuI-0000R5-7S for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 18:16:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <855f9eaf1b1d39bb9325d0a88e7f66c0ba0b45d0.camel@gmail.com> Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Sep 2021 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49822 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16309665561661 (code B ref -1); Mon, 06 Sep 2021 22:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Sep 2021 22:15:56 +0000 Original-Received: from localhost ([127.0.0.1]:54669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNMuC-0000Qi-9v for submit@debbugs.gnu.org; Mon, 06 Sep 2021 18:15:56 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNMuA-0000Qb-Jy for submit@debbugs.gnu.org; Mon, 06 Sep 2021 18:15:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNMuA-0001ee-7g for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 18:15:54 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:54156) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNMu8-0003CK-ME for bug-gnu-emacs@gnu.org; Mon, 06 Sep 2021 18:15:53 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mNMu5-0009sN-8C for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 00:15:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" Xref: news.gmane.io gmane.emacs.bugs:213644 gmane.emacs.devel:274175 Archived-At: On Mon 06 Sep 2021, Andreas Schwab wrote: > On Sep 06 2021, Michael Albinus wrote: > >> Andreas Schwab writes: >> >>>>> Okay, so is the TTY line length limit of the OS available in Lisp >>>>> somewhere? Otherwise, can we at least trust that 1024 is the universal >>>>> lower bound? >>>> >>>> On systems with a POSIX shell: >>>> >>>> (let ((default-directory "/")) >>>> (read (shell-command-to-string "getconf LINE_MAX"))) >>> >>> LINE_MAX has nothing to do with the tty line discipline. >> >> I'll never learn it :-( >> >> We've discussed this issue some years ago already. IIRC, the outcome was >> to use "getconf PIPE_BUF /" instead. > > Neither has PIPE_BUF. > > Andreas. Why not stop being so unhelpful and actually share your knowledge of the correct answer ? What precisely is the limitation, and how can it be discovered ? Please explain. AndyM