Re: bug#58678: 28.2; :session in org-babel for python unexpected output

2022-10-24 Thread Ihor Radchenko
Sergey writes: > I have traced this to org-bable issue with MacOS python readline and native > completion. Similar issues discussed in > https://github.com/jorgenschaefer/elpy/issues/887 > and > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25753 > > The solution proposed in those threads, i.e

Re: bug#58678: 28.2; :session in org-babel for python unexpected output

2022-10-24 Thread Sergey
I have traced this to org-bable issue with MacOS python readline and native completion. Similar issues discussed in https://github.com/jorgenschaefer/elpy/issues/887 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25753 The solution proposed in those threads, i.e., installing python from home

Re: bug#58678: 28.2; :session in org-babel for python unexpected output

2022-10-21 Thread Ihor Radchenko
[Redirecting from Emacs bugs] [See the quote below for the original report] > #+RESULTS: > : >>> __PYTHON_EL_eval("try:\nwith > open('/var/folders/dk/3btmprj123b_31jsp30thzrmgq/T/babel-9tY6uv/python-92ZLVe') > as > __org_babel_python_tmpfile:\nexec(compile(__org_babel_python_tmpfile.read(),