Re: [BUG] Org babel python async can't return values

2024-06-26 Thread Ihor Radchenko
Sam Crawford writes: > A MWE is: > > #+begin_src python :async yes :results value :session python >   12 > #+end_src > ... > I believe the issue comes from the regexp used for > org-babel-comint-async-indicator on line 540 of ob-ipython.el. It is > currently "ob_comint_async_python_\\(.+\\)_\\(.+

[BUG] Org babel python async can't return values

2024-06-26 Thread Sam Crawford
This may be MacOS specific, but I noticed that :async yes only works with :results output; :results value never returns. A MWE is: #+begin_src python :async yes :results value :session python   12 #+end_src This ought to return 12, but the "#+RESULTS:" field only ever shows the value of the temp