[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#58678: 28.2; :session in org-babel for python unexpected output
From: |
Ihor Radchenko |
Subject: |
Re: bug#58678: 28.2; :session in org-babel for python unexpected output |
Date: |
Tue, 25 Oct 2022 06:15:20 +0000 |
Sergey <srg.koshelev@proton.me> 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., installing python from
> homebrew, which has gnureadline, helps for emacs 27 but causes freezing in
> emacs 28 after displaying following message:
> ```
> Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support
> readline, yet ‘python-shell-completion-native-enable’ was t and "python3" is
> not part of the ‘python-shell-completion-native-disabled-interpreters’ list.
> Native completions have been disabled locally.
> ```
>
> Setting ~python-shell-completion-native-enable~ to nil removes the warning
> but doesn't prevent freezing. This behaviour persists with minimal org setup
> as well (although, I believe my emacs comes with org pre-packaged).
So, it looks like Emacs bug then.
Let us see what Emacs devs can suggest.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>