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,gmane.emacs.devel Subject: bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files Date: Sun, 05 Sep 2021 09:46:25 +0200 Message-ID: <87mtorcvn2.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="5751"; 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 09:47:18 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 1mMms1-0001FY-MK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 09:47:17 +0200 Original-Received: from localhost ([::1]:44108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMms0-0005P1-PO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 03:47:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMmrm-0005Nm-8W for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 03:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMmrm-0007e4-1C for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 03:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMmrl-0006DJ-Vz for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 03:47:01 -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 07:47:01 +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.163082799422606 (code B ref 49822); Sun, 05 Sep 2021 07:47:01 +0000 Original-Received: (at 49822) by debbugs.gnu.org; 5 Sep 2021 07:46:34 +0000 Original-Received: from localhost ([127.0.0.1]:49083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMmrK-0005sJ-5u for submit@debbugs.gnu.org; Sun, 05 Sep 2021 03:46:34 -0400 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:55980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMmrI-0005nM-Si for 49822@debbugs.gnu.org; Sun, 05 Sep 2021 03:46:33 -0400 Original-Received: by mail-wm1-f47.google.com with SMTP id g135so2245585wme.5 for <49822@debbugs.gnu.org>; Sun, 05 Sep 2021 00:46:32 -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=fYZUjzx+MC4B9HUKvu7zbPKodG+Nd5b2EMiep9hvTnI=; b=IZERZuD+ip0iejLqNjRhpu4vE4+V+d6T+MKYCYZP2zYl/5uxr8j0tHGcqya0c0KnX2 NC3zKBl8yrd1DbXTxEI2PekvD4X/dQf7gyNu8iyc1ehCG7Ix44nbapZf98NROXBtwdb4 7rYS1NMjtld+SHPZhz3GIq2PWryQGvbrgAbaqYB74ywsezZf5QqN6bv2fjL9L8AyGWc5 cgzulGr08a3Z3DK1nC4fX7CcmEexf2lRaWFORv/UfVcLjtVJqk99MDkSvwjCJ6+CyTPb ZRgOSyzqaxcsKK4qTMuyVCiUT4wDng4Qecer/VIrCpLqtCZ8qTe/vHCHkkysLAiNql32 yfpA== 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=fYZUjzx+MC4B9HUKvu7zbPKodG+Nd5b2EMiep9hvTnI=; b=iLhVqPH/4jyDldqZOs87tsK4zQBacAkgwZDxPE2l+ggw2b/JUf+lFlI7Dt0ZbQHuHX nlGFR/y+XnmeZ57l+st6npoYZoLhWdnCAuG7e5RqT03mBc0VyjTnoQsSfMdnJdkK8KSC jdbc6hOD1qbfuiw0pfzU8eG0fogB5Ckp+4LpsItIaazjVU68R3JtIFtmU6R2/BSeU1Uq PbWjaKjQW1MXqPcK7Bx5Lw91LfSGa0FcqOc8NREmaVvXBKCKN2I5XSTNpHUoNCE6fmkb LoJG8g+9c12s3rBmOKJAC6bS4PdQ6/B5pNRlsVQ4RNBxNjV/Ed2vg75X+NTCYpIkmQEZ X2Sw== X-Gm-Message-State: AOAM533jdKponD7O9fZN4iFSftjsjoOT9k76t0o07YdOclyxY1AHFh5z 3W8qBF44emkclUY6s2on+co= X-Google-Smtp-Source: ABdhPJwS3Z2BKzczYMUFPA3pbndyZKwvfEXfMC4ngwybnF0ujT8lCE+NkxyfqAQqTByHYHm1qvFUYQ== X-Received: by 2002:a1c:1d84:: with SMTP id d126mr5968978wmd.160.1630827986850; Sun, 05 Sep 2021 00:46:26 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::8aaf]) by smtp.gmail.com with ESMTPSA id p9sm4245951wrg.14.2021.09.05.00.46.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Sep 2021 00:46:26 -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:213462 gmane.emacs.devel:274001 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? I can run all the examples in https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-python.html after the changes of e32c7d2a8d. Can you provide a small example to reproduce the problem you encountered?