[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ob-python: Fix async evaluation
From: |
Jack Kamm |
Subject: |
Re: [PATCH] ob-python: Fix async evaluation |
Date: |
Tue, 11 Jul 2023 21:51:29 -0700 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Liu Hui <liuhui1610@gmail.com> writes:
>
>> 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.
>
> Confirmed.
> CCing Jack Kamm, the maintainer.
And I can confirm now as well. Thanks for reporting, and for the patch.
The patch looks good, but it would be nice to include a unit test as
well -- could you update the patch to include one, Liu Hui?
Thanks,
Jack