From: Jack Kamm <jackkamm@gmail.com>
To: Liu Hui <liuhui1610@gmail.com>
Cc: Ihor Radchenko <yantar92@posteo.net>, emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-python: Fix async evaluation
Date: Wed, 12 Jul 2023 14:58:51 -0700 [thread overview]
Message-ID: <87a5w023ms.fsf@gmail.com> (raw)
In-Reply-To: <CAOQTW-OXq-3u8HYCPSGbZ9mzBxUO_vQZghBcOEgOE6sZ4HscWQ@mail.gmail.com>
Liu Hui <liuhui1610@gmail.com> writes:
> OK, I have added a test to the patch.
While your test works on its own, it seems to break subsequent tests
(the next test hangs).
My guess is that it has something to do with the fact that most of the
Python session tests share the same session, and ob-python is getting
confused about which session to use on the next test.
One possible fix might be to kill the Python session started by your new
test, after it's finished running.
(It is probably not the best design that the Python session tests all
share the same session...)
next prev parent reply other threads:[~2023-07-12 21:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 3:40 [PATCH] ob-python: Fix async evaluation Liu Hui
2023-07-11 9:14 ` Ihor Radchenko
2023-07-12 4:51 ` Jack Kamm
2023-07-12 10:11 ` Liu Hui
2023-07-12 21:58 ` Jack Kamm [this message]
2023-07-13 9:59 ` Liu Hui
2023-07-14 0:29 ` Jack Kamm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5w023ms.fsf@gmail.com \
--to=jackkamm@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=liuhui1610@gmail.com \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).