emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ob-python: Fix async evaluation


From: Liu Hui
Subject: [PATCH] ob-python: Fix async evaluation
Date: Tue, 11 Jul 2023 11:40:39 +0800

Hi,

To reproduce the bug:

1. create test.org:
──────────────────✀──────────────────
#+begin_src python :session "*Python 3*" :async t
1
#+end_src

# Local Variables:
# python-shell-buffer-name: "Python 3"
# End:
──────────────────✀──────────────────

2. emacs -Q -L <path_to_latest_org> --eval "(require 'ob-python)"

3. Open test.org, then start a python shell with M-x run-python, which
should create a buffer named "*Python 3*"

4. Press C-c C-c on the src block. Then an error "No inferior Python
process running" is shown.

Attachment: 0001-ob-python-Fix-async-evaluation.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]