From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#50669: 28.0.50; python-shell-send-string leads to "nesting exceeds `max-lisp-eval-depth`" error Date: Sun, 19 Sep 2021 18:12:59 +0200 Message-ID: <8735q0lf1w.fsf@gmail.com> References: <87zgs9gcd3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30967"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50669@debbugs.gnu.org To: Michael-David Fiszer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 18:14:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mRzSE-0007r6-Sn for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 18:14:10 +0200 Original-Received: from localhost ([::1]:45726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRzSD-00089a-6f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 12:14:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRzS6-00089Q-GC for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 12:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56329) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRzS6-0000Bt-9B for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 12:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRzS5-00024k-WA for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 12:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Sep 2021 16:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50669 X-GNU-PR-Package: emacs Original-Received: via spool by 50669-submit@debbugs.gnu.org id=B50669.16320679917908 (code B ref 50669); Sun, 19 Sep 2021 16:14:01 +0000 Original-Received: (at 50669) by debbugs.gnu.org; 19 Sep 2021 16:13:11 +0000 Original-Received: from localhost ([127.0.0.1]:39642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRzRH-00023T-Hn for submit@debbugs.gnu.org; Sun, 19 Sep 2021 12:13:11 -0400 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:50773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRzRD-000235-7W for 50669@debbugs.gnu.org; Sun, 19 Sep 2021 12:13:10 -0400 Original-Received: by mail-wm1-f44.google.com with SMTP id 140so11245594wma.0 for <50669@debbugs.gnu.org>; Sun, 19 Sep 2021 09:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qhI+NPMLbetyYiBwNmd1+lbs2SXQyir3SOJlJ5j84Jk=; b=PwGS0CKPJdwBzTyAMnHOWL8oUQGVX92/3WFVJgqG+LEZ58DgZ6vvWBugJ4JDZkZaUh DJAaoLBc8yD4cQC9WEiyWDA3t68GenfPLX5c2hOCB7h7pFW7uqLdhuz0PJK8L7FjTn/d KqzBGHgag49TnQUx2FKMviCE4pVUTbKymOr9bsW9JSZKDLDG0UuifCv8QksAFKGk0Kay mdIbSQIWLpNkk/5mH+/3XlA5Q2E0O2G0qyPFMZdBu5YowVhzXro4KE29LcsURSWhfqnD dy0CTRQ6OfO3/pMAFxK8SNY779mBruA5jBQYm4xyGxOWWuT13EiDzhnZXXyLQt9NEXRq n0QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=qhI+NPMLbetyYiBwNmd1+lbs2SXQyir3SOJlJ5j84Jk=; b=bw3Ij5tNNbDHV65HJygRVJIzK4KgUU9xrp89df4NHzKeJFvRGms2Me+hykIEQwGnUI +MHWF00L4cUe74Xcafj+5xbC/fYdMdM8ziv0urjl0OkOnPh93iiafjlIgGV+qssWBams Xsgs+SqB09+lXo9o+lmwGHX9C36kJdfLWwZmtdUg/LLU1WJHG3fr+Ptp5IeGSmvI02Yc AzfaV+Dx+uA72U9EXbXgJNmcjscfX7jH2y1km6jpqr5n5s3wVfr8lF4m+aie93+fPRXr ZkHeDTURjvj0OAaqhpM2yarOTIaHGtonYRn2MR604eA9fdwmNXkh8Nyu5n8XxCSnCkek +lnw== X-Gm-Message-State: AOAM530W4wrJU7r5weY7Xqc3y04ZI45YCzRcbSZ1Yprdpg5j4uv1+L9J lrh0n8Jmmjiyg/PtVyP9qNkCHRgHXFQ= X-Google-Smtp-Source: ABdhPJzzk1ph5DTlWHQ6qwdMoXpMxp6GbHn3nd8h7uEoVVFMjgxQ8198Su7HatPC8y2tWGiSuhX9Bg== X-Received: by 2002:a1c:7201:: with SMTP id n1mr20108772wmc.19.1632067981120; Sun, 19 Sep 2021 09:13:01 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::2f72]) by smtp.gmail.com with ESMTPSA id z5sm17267059wmp.26.2021.09.19.09.13.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 09:13:00 -0700 (PDT) In-Reply-To: (Michael-David Fiszer's message of "Sun, 19 Sep 2021 13:36:33 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:214740 Archived-At: 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?