From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files Date: Sun, 05 Sep 2021 10:10:25 +0200 Message-ID: <87ilzfcuj2.fsf__18355.0395233155$1630829636$gmane$org@gmail.com> References: <20210903122828.16890.65271@vcs0.savannah.gnu.org> <20210903122829.EAAC220B71@vcs0.savannah.gnu.org> <87r1e4eklw.fsf@gmail.com> <44E9472D-65D9-48DA-AF20-C0A82818C5CA@disney.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2069"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "49822@debbugs.gnu.org" <49822@debbugs.gnu.org>, Stefan Monnier , "emacs-devel@gnu.org" To: "Barton, Mark" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 05 10:13:47 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 1mMnHf-0000Nn-ON for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 10:13:47 +0200 Original-Received: from localhost ([::1]:43682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMnHe-0008UH-IU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 04:13:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMnF0-0004mF-Rb for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 04:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMnF0-0002dD-KU for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 04:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMnF0-0007LI-Fu for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 04:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Sep 2021 08:11: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 Original-Received: via spool by 49822-submit@debbugs.gnu.org id=B49822.163082943628182 (code B ref 49822); Sun, 05 Sep 2021 08:11:02 +0000 Original-Received: (at 49822) by debbugs.gnu.org; 5 Sep 2021 08:10:36 +0000 Original-Received: from localhost ([127.0.0.1]:49118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMnEZ-0007KT-Qx for submit@debbugs.gnu.org; Sun, 05 Sep 2021 04:10:36 -0400 Original-Received: from mail-wm1-f46.google.com ([209.85.128.46]:45942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMnEX-0007KC-7d for 49822@debbugs.gnu.org; Sun, 05 Sep 2021 04:10:34 -0400 Original-Received: by mail-wm1-f46.google.com with SMTP id j17-20020a05600c1c1100b002e754875260so2501058wms.4 for <49822@debbugs.gnu.org>; Sun, 05 Sep 2021 01:10:33 -0700 (PDT) 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:content-transfer-encoding; bh=ZkDTmt+zYS2ROK0VHPFj+o/d+GVTzcJwvjeLpxvxV2Y=; b=XBIbA/oJHcXcxVsBMf2lzkdAT2zxPky9L2n5n93yqhutyDHq7sh0BXXqPN1a+I9CJf IbstzWFOxZOaTvqiaJBhSNyYcimOt5XazSoQWX30oZ9hiI4ckzjk4Ug5vN8Lq3ksbcq3 7SC/1V85V9uQ7yyBJmny5dldX8wzK6xp5I847/toSVQAHMmvxBaUL13Xon/OXbYbIdEs lBCnrJiTzYnzRBFS9CfNYAH7dwkactxSrgZEXIXChIUh/ftmIn4kuvmPkZZVTDBySFDy S6quzkRQz3K3UMnD6or56gczP8EV2gTfl+c2+WMLQ/AMobVI/9ICz0pOFT0JYL79zFKf oraA== 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:content-transfer-encoding; bh=ZkDTmt+zYS2ROK0VHPFj+o/d+GVTzcJwvjeLpxvxV2Y=; b=Q8KfzeUFr174ntWX/LCoyBgciwO82DZEtGpS0a8ZvKwCUhtTebO356WpzKsY3kIApN z1sAfMPBZCnEvIdlM2hlyEeLOLiX6g3s+LrIRx+oujyjN1AKq7JBiVU7XUf+GB+HcLd6 4PTUrlSd4Aq6YyoFUJkiMgaIhLBKNdgS+egbIaz5oqajF5+Ks792OzPGGNBiBjCO7geN YE6+9YwB2BguqekuJvSCdLu1X6BVeuf94ATmW3VniTvNFU701oEo1i13nr77yYLETCuw ZwETfy6RU1C8wXyZE0J8wpgsCpA7WGzHMYgrbYZp77EeENqCMgQw6CFPdD61/m8+yGIc RRUw== X-Gm-Message-State: AOAM530AJ8xbls4dOAphFHm42vQgjhMJcsFTqshe60Jku5++NCh3O/aN JgUOosgHzBTHvRiaItFRKQQ= X-Google-Smtp-Source: ABdhPJz60+wn8YvK8HvBdrn3tVSI1x8qwgi1ZOO9pHwDpC8/FKZAzI14f4atlsc4F2C9vxBIue6Llg== X-Received: by 2002:a05:600c:2d89:: with SMTP id i9mr6321884wmg.10.1630829427372; Sun, 05 Sep 2021 01:10:27 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::8aaf]) by smtp.gmail.com with ESMTPSA id w9sm4324429wrs.7.2021.09.05.01.10.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Sep 2021 01:10:27 -0700 (PDT) In-Reply-To: <44E9472D-65D9-48DA-AF20-C0A82818C5CA@disney.com> (Mark Barton's message of "Sun, 5 Sep 2021 06:13:59 +0000") 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:213470 Archived-At: On Sun, 5 Sep 2021 at 06:13, "Barton, Mark" wrote: > Today I was trying to export my monthly org document that uses org babel = python blocks to > produce tables. I can get it to export fine if I revert python.el to the = version before e32c7d2a8d > - Change Python eval to send directly instead of using temporary files. > > Below I show the python session buffer, first where it is working and the= n where it is broken for > me. I=E2=80=99m running Emacs on macOS 11.5.1 and compile from the master= branch. > > In the =E2=80=9CBroken session buffer=E2=80=9D below, I recognize the cod= e from that commit, but I really don=E2=80=99t > understand the problem. Any ideas on what other information I can gather = that would be > useful? Two more things you could try: 1) set `python-shell-completion-native-enable' to nil 2) pull the current master, after commit 1fdd898704 I'd be curious to see the effect of 1) before doing 2), if you have the time for this quick test.