From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oIHlKjqXsGQZ4gAASxT56A (envelope-from ) for ; Fri, 14 Jul 2023 02:30:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WJ/oKTqXsGTcJAAAG6o9tA (envelope-from ) for ; Fri, 14 Jul 2023 02:30:50 +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 526BB45454 for ; Fri, 14 Jul 2023 02:30:50 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=EcCRaVV8; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689294650; a=rsa-sha256; cv=none; b=PT1Yk2jF+AcoA0OSN7gdixYsGrLN+GGDFc6tjdMEN/PM93+EeLE0iDlkARiBBJu5noIVW7 lt24jldjHZhte+J+hbfU3aZ+0plOd28BklSb2OexEWOzcMd0mt22FUJDbGkDyHZ6OEorjp cY6RVfdHiP0wx9kTjzhAqnRLpKG1zUvTpLx5N6sfWtnl0kDtUELJesQL8jis78w23SflNc G7QB5BhALDYtXnEzgg76MmjRy0TiNHiP+rj3tXJZXJydnqjLnFRglg/rBiD6LuCeED7czl 7N5v56pEvipMDNpO45PzurafXQhcNO2YHOwmMPuvh8dUOpoOtVdSQq82SniPsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=EcCRaVV8; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689294650; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CwpjXxbCZNNuS4I3ugl/hHuESNdcZHswBQd3gre9kTg=; b=ENaTLTae+UDH8ARzYRHF2SoPn4SKWmA8M06fpmnwp5P64SXrsIHISObwS5ezbOEdnBjs86 7ki35rmR93YOQwDG6I3blvVfgx/IkMARiW3XaXSJjAdAHm3aDOW0GRV/9/yI5mZ8LXbzXW dhkOT6aQpj4cgAQmcuZONEnqGE+36B3bjEnTiood9aNIfYmHsAiptxzir9EBEj81PvQc15 2WW72xcTRdNSURFjFfl4nGowq1jK9oB3Y8LEvfnCjqBScbngRfmPM0yCeT/wqKWIFVDC/z ZTvEynd9bPMUqxPy0f7xHL6nribnIi/+aATco7vox2QtU6/pdDhmK4YEg6C2yA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qK6h6-0004KG-5M; Thu, 13 Jul 2023 20:30:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qK6h4-0004K0-Nm for emacs-orgmode@gnu.org; Thu, 13 Jul 2023 20:29:58 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qK6gz-0004Gp-SO for emacs-orgmode@gnu.org; Thu, 13 Jul 2023 20:29:56 -0400 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-668711086f4so834692b3a.1 for ; Thu, 13 Jul 2023 17:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689294592; x=1691886592; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=CwpjXxbCZNNuS4I3ugl/hHuESNdcZHswBQd3gre9kTg=; b=EcCRaVV8euHsQrfMIWJGvIQf9Yeh/Lqw46jdNNK5GtnxXHawczzNL44MsFZ0TDcag0 3Sl9BgwowmNLyNQTJLwPh6DZq5WxrZ1mpMXCSDKjX7Z/qNlS33xkG2/wuB/qpS8zI7yg ACFQnzbeUfAcGBQ7Tj+mDlpfKMszDKHMGAxQ23WvTwV7cqbTQ+lsehRcZpjGPib9RtEh txtmNeGQ1pxfWARKhvEt3YGme6L23kr9i0GvBOC6PjEazETYxXDOQVo0YApLQtkV8jVL Y/UTY7tbWQJ2dpEEjcczfvm6eWqOblsieJc4TPjNhgf38UrZ2rTIWSg6j9+SJw8eVRJ7 nvkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689294592; x=1691886592; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CwpjXxbCZNNuS4I3ugl/hHuESNdcZHswBQd3gre9kTg=; b=GAzq/LBUvIdBstsu9b24T1z9ZIjrYhqf7TGuP6LzwqOYj0iEVOY5r8bIMzPsqwaHJ5 GusflrH8Jeik7wCHv5YJlRPEfLh6TapruAx8EXHYfaMTmbSsqA/ue7mIHoLE00VKXQ5N FfPALpNXx1V8krRGuc7N0QSi9MrTLcsEUlBs4TWdeuLAR/lzHflz+WRe76cHwp8WGfmg qxIrCwu7puIZlDauM/2BldGn0/+JFNFJl+5rqSvC4xqNHudGvIJ/b5dQs4ta+I404fJY H5/ppwNaMerI79bKfBqMZkOS42Ss5HnbelFtRW//NX5c+I3hHJTbwgMqIaH/T4J1L/Va Cf/Q== X-Gm-Message-State: ABy/qLaGxVYnLLMqisV5q1VbBGYMOhp7ImavWXWOS222EtFgrtzGvbAS z7ZzUnw/VzTuYk9WCY3eLjs= X-Google-Smtp-Source: APBJJlFeSUamM/MQjvD+EDQtWm6B3VquWUkt2QdyGyPOk99Cg3bbstKJSWTzHTFbqLEwv68a9/x7rg== X-Received: by 2002:aa7:9307:0:b0:678:7744:31fd with SMTP id cz7-20020aa79307000000b00678774431fdmr1502337pfb.0.1689294591573; Thu, 13 Jul 2023 17:29:51 -0700 (PDT) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id ey23-20020a056a0038d700b00682a8e600f0sm5980480pfb.35.2023.07.13.17.29.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 17:29:50 -0700 (PDT) From: Jack Kamm To: Liu Hui Cc: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: [PATCH] ob-python: Fix async evaluation In-Reply-To: References: <87ilaqolmf.fsf@localhost> <87ilapka0e.fsf@gmail.com> <87a5w023ms.fsf@gmail.com> Date: Thu, 13 Jul 2023 17:29:49 -0700 Message-ID: <877cr31gjm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=jackkamm@gmail.com; helo=mail-pf1-x432.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 526BB45454 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -8.00 X-Spam-Score: -8.00 X-TUID: UFSvWHYly8YR Liu Hui writes: > Thanks for pointing out the problem! I find the problem disappears > after removing the `run-python` line, and I have updated the patch > accordingly. Thank you. I applied your patch to main branch. I am curious why the previous version of your test was causing hanging -- whether it indicates a bug in ob-python, or just an issue with the testing. Would be good to look into it more...