Subject: Re: bug#50669: 28.0.50; python-shell-send-string leads to "nesting exceeds `max-lisp-eval-depth`" error

From: Augusto Stoffel <[email-masked]>
Date: Sun, 19 Sep 2021 18:12:59 +0200

Hi David,

So, I think the main thing is to figure out which functions are calling
themselves recursively.  'python-shell-send-file' doesn't call
'python-shell-send-string' anymore, so that can't be it (are you sure
you are using today's master branch?).

Another crazy attempt would be this:

     (let ((process-connection-type nil)
           (python-shell-completion-native-enable nil))
       (run-python))

Nevermind the initial warnings, does it work for you afterwards?