bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Ihor Radchenko
Subject: bug#58678: 28.2; :session in org-babel for python unexpected output
Date: Thu, 02 May 2024 17:11:15 +0000

Ihor Radchenko <yantar92@posteo.net> 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.

CCing Eli. It looks like my reassignment to emacs fell through the cracks.

-- 
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>





reply via email to

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