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.devel Subject: Re: 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@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="33745"; 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: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 05 10:11:34 2021 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 1mMnFW-0008c8-1e for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Sep 2021 10:11:34 +0200 Original-Received: from localhost ([::1]:38792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMnFU-00053f-L6 for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Sep 2021 04:11:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMnEV-000434-75 for emacs-devel@gnu.org; Sun, 05 Sep 2021 04:10:31 -0400 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:44657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMnET-0002Aw-Jd for emacs-devel@gnu.org; Sun, 05 Sep 2021 04:10:30 -0400 Original-Received: by mail-wm1-x32b.google.com with SMTP id l7-20020a1c2507000000b002e6be5d86b3so2506019wml.3 for ; Sun, 05 Sep 2021 01:10:28 -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=Kql5MDwMVdBubmFfgjqWVyAm+Z0O9MLu8NtHtHZnRunWO3m9ZprUIRsBWMV33l09BY yQiPtBaRxPZXCbfuQkgwAkZLlGAqikDEubYfjqttGy53FJS/z4FNR6+bmJHqy9xhgxQw s3NLx0/kd75OyYRC+XxY76v6btvj0wi9wLo5Ar9xzKac7qsNX8MNCyJpVAuAoXwYYPj+ DkZ4w0XroaUNXo9gb398iMbqaUvUhYiWEc3c4idzFM+8J42cW6e6HiDcohHuidrQTWJc AKeCRNQyxH8JE0/SuqYY7+S/mYpiLJ8pOL4BPUwbNW5mYHL5WUxVTGkuKXS0WPoHJ6ry 7kiw== X-Gm-Message-State: AOAM531IEtT78/HRziquZdxZZBuZRrSzZI9k+rZtKjowDwd6jVBXt3oo 489LUxcd0mf+8UTQ24HfhtZi4fiJ70U= 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") Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=arstoffel@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:274007 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.