From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oHNAODnZCmMQ0QAAbAwnHQ (envelope-from ) for ; Sun, 28 Aug 2022 04:55:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MLGgNznZCmORYgEAG6o9tA (envelope-from ) for ; Sun, 28 Aug 2022 04:55:53 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7F04B33C77 for ; Sun, 28 Aug 2022 04:55:53 +0200 (CEST) Received: from localhost ([::1]:39802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oS8Sm-0007CN-N1 for larch@yhetil.org; Sat, 27 Aug 2022 22:55:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS8Ry-0007CF-WE for emacs-orgmode@gnu.org; Sat, 27 Aug 2022 22:55:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oS8Rx-0007Vn-Uo for emacs-orgmode@gnu.org; Sat, 27 Aug 2022 22:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oS8Rx-0005YM-Qn for emacs-orgmode@gnu.org; Sat, 27 Aug 2022 22:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50514: 28.0.50; org inline call to python src block req C-g to break Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Sun, 28 Aug 2022 02:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50514 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: "Barton, Mark" Cc: "50514@debbugs.gnu.org" <50514@debbugs.gnu.org>, Lars Ingebrigtsen , Augusto Stoffel Received: via spool by 50514-submit@debbugs.gnu.org id=B50514.166165527321308 (code B ref 50514); Sun, 28 Aug 2022 02:55:01 +0000 Received: (at 50514) by debbugs.gnu.org; 28 Aug 2022 02:54:33 +0000 Received: from localhost ([127.0.0.1]:57391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS8RU-0005Xc-SU for submit@debbugs.gnu.org; Sat, 27 Aug 2022 22:54:33 -0400 Received: from mail-pl1-f181.google.com ([209.85.214.181]:34707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS8RS-0005XN-DG for 50514@debbugs.gnu.org; Sat, 27 Aug 2022 22:54:32 -0400 Received: by mail-pl1-f181.google.com with SMTP id f24so2210400plr.1 for <50514@debbugs.gnu.org>; Sat, 27 Aug 2022 19:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=yzOI+8pVSdwEs+veotu6H3A+JGyRS2ne2Pl/BPlBW+c=; b=atf3X0HW9anwYqX2F+h5NVQ0CiOMmLEdzJ3gHYRli8fSClgKRB8S6UrU7ezohDcsOA HbNgZWAKmWdW8Nrg8LjJSIvLIgjSoAUHHj0WIKir8nW6qlJulr7QTdGiFa6AahcZu4DF RIn+/1DcVAFv4KBh5bSgqxGoZeUp4ADYOcBVJ14JiWJtIX6b22mWhD/mn9V5POvSNI1A N2zBuVnnh5EoilRvPsWHtKV2cAextvVp3obEX2WmGn1bL7ubcwEHV8hbKgfUaQWEi9IO ooiEKBgGQMm0llVxA1PPlOhTN0syxg72N0T/IJskXLWjKZNQOmoGRNRqstgST9RfRxZL L1NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=yzOI+8pVSdwEs+veotu6H3A+JGyRS2ne2Pl/BPlBW+c=; b=ZFQ6kDq4FSEnyaDtXgkTXYbXaR8rx64P1AMM1f6+bkwT6bnUurt4M2UCkc5ck+KYGT xOAa0Z4lQyvEbrT8AUgs4QiqrsvKvnSm4E97RgacXhNmTPpdrWi16Vu10+W/iR2AHguJ yN7ro4K9Q577dbukoQsY8OUTBOY4LesGJ1RmAeAbaQbOczyIhOs1bvnBuEGWKUFQpt06 5eibyV3DSGSkLECqAgd4D+3kWKm2czXdiDGODZSNFDK6n7X14CZdGFO9ocfr5uAi6F6C MREMJPs9PxPnrrgBmtH/QQfb8kRJ4fAVt8EaaJ7ZrXiatyp0PMnGp1BsQiKlKvT6kcFP 6OyA== X-Gm-Message-State: ACgBeo04bUU2l6Xxw31w6NtAWaY81sXtqJsINAD9UQxlCpbEiQQCw+Ml cNoupa0sciD2iU0sqwjQw4w= X-Google-Smtp-Source: AA6agR7u1RDJ6oT2+NjGdrg7f6rJfzLg0ETIKTKD+i3/sN6JOgeyEaxAC+jaGZm3QWa6gxO3yHSMfQ== X-Received: by 2002:a17:902:a60f:b0:172:e476:fde with SMTP id u15-20020a170902a60f00b00172e4760fdemr10442566plq.104.1661655264185; Sat, 27 Aug 2022 19:54:24 -0700 (PDT) Received: from localhost ([2409:8a70:2b3:c8a0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id u23-20020a1709026e1700b001726ea1b716sm4414007plk.237.2022.08.27.19.54.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Aug 2022 19:54:23 -0700 (PDT) From: Ihor Radchenko In-Reply-To: <0324EA8C-CB50-473E-A106-68DA2437C90E@disney.com> References: <9CADADD8-72C0-4951-9950-AC7149B339F4@gmail.com> <56BAC174-35F5-4ED6-8923-729B2DE20490@disney.com> <87czclduj5.fsf@localhost> <0324EA8C-CB50-473E-A106-68DA2437C90E@disney.com> Date: Sun, 28 Aug 2022 10:55:25 +0800 Message-ID: <87a67pdqle.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661655353; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=yzOI+8pVSdwEs+veotu6H3A+JGyRS2ne2Pl/BPlBW+c=; b=BpN5c25upFKxEGbDtOHjCaSzSSGenUQWB8PvjfCqGwRUnASJPKs/dF1R/QX4Y9UccPqbJ1 sCTYBz6PM8gObjgXC1lu/a9bF06kYp0QWCS9B4Gfe1IfCAM5tdghNk2ZWarZDT+U+wRZjU nwqRxG6YnJcbZMMNDaNnu1sHawyIBEzMna3dh2a0VL5LuxHAq3zH2T04LrD1tOI2evVI6M 3VF94JzyJ1J/4z7PKD/hjEINa4hPm/5Mp+PFB83suwe6g+rT4zLJPnCEX5CkOYJyKFkrza J8iSErqtiWrxmD6oYamfaMxotYATwN24mfq2aUB4c5PyRvPJSIVrT+b1DOT+Vw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661655353; a=rsa-sha256; cv=none; b=r2rEnssJ5dOQAk/xRakBNYrxB+DafuizlBYyghXFX5ArSUvtu3bI1JkobCgDlgQWEOG8Tm HSos1yBMujI8wFW4ut27TispHy9NBsd4PhDiKstu1lQpVEqGy5UkyfwUtm7EEm+52rR311 Uoak59Upn/cCv8hyJbAkoz1gbKWjmdyHkQEZ5CxWsrZ2mTz0p71X6flYRQ+yo2RbK9Ay/B 2kU0TDnVWqvaDSCdRl7/gJFG8COV3mHxnBUDWPauErSfCRIe+vFzM0ERLRvS1UYXMJC8oo UBl2w+80T1WYbxilOM7F7kfrwFOpTostOPxV4Lk+Kbblz9ZEfIFWGQYYZ1sYIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=atf3X0HW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 8.20 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=atf3X0HW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7F04B33C77 X-Spam-Score: 8.20 X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-TUID: AfCD/+5TPqMe "Barton, Mark" writes: > Do we need to worry about the note about not appropriate for large blocks of code or does that not apply in this case with the way you implemented it. > (org-babel-comint-wait-for-output BUFFER) > > Wait until output arrives from BUFFER. > Note: this is only safe when waiting for the result of a single > statement (not large blocks of code). It should not be a problem. org-babel-python-initiate-session-by-key is creating a new python session---no actual code blocks are passed to python; just the python command is executed. Fixed on main via 06373a643. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=06373a64387330d5bbdcbb3417cea7c2638713df -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92