From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Barton, Mark" Newsgroups: gmane.emacs.bugs Subject: bug#50514: 28.0.50; org inline call to python src block req C-g to break Date: Sun, 12 Sep 2021 20:04:51 +0000 Message-ID: <73383502-159B-4BD9-8836-6C8A534A7063@disney.com> References: <24B9F777-2B69-45FD-ADBB-11E7A18F7A9A@disney.com> <87wnnnjlav.fsf@gmail.com> <871r5u1e3m.fsf@gmail.com> <61CB9513-0EEC-4F46-90D6-1D208BBADFA1@disney.com> <87pmteb1ef.fsf@gmail.com> <21C76818-63E5-4DC9-A60D-2BEF33813A18@disney.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_73383502159B4BD988366C8A534A7063disneycom_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19907"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "50514@debbugs.gnu.org" <50514@debbugs.gnu.org>, Lars Ingebrigtsen To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 12 22:06: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 1mPVjv-0004xG-7s for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Sep 2021 22:06:11 +0200 Original-Received: from localhost ([::1]:58950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPVjt-00019p-Il for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Sep 2021 16:06:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPVjm-00019h-U4 for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 16:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPVjm-0000GG-LL for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 16:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPVjm-0001vb-GO for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Barton, Mark" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Sep 2021 20:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50514 X-GNU-PR-Package: emacs Original-Received: via spool by 50514-submit@debbugs.gnu.org id=B50514.16314771027320 (code B ref 50514); Sun, 12 Sep 2021 20:06:02 +0000 Original-Received: (at 50514) by debbugs.gnu.org; 12 Sep 2021 20:05:02 +0000 Original-Received: from localhost ([127.0.0.1]:43591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPVin-0001ti-Cy for submit@debbugs.gnu.org; Sun, 12 Sep 2021 16:05:02 -0400 Original-Received: from mail-mw2nam12on2115.outbound.protection.outlook.com ([40.107.244.115]:63144 helo=NAM12-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPVik-0001tV-M6 for 50514@debbugs.gnu.org; Sun, 12 Sep 2021 16:05:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OacaZ00qN1q3gyBW8E9/uTQ6ifiswQ9Hk6UsMpqHbOPcybY8lqpaFoLcI+JmTAHQnRtU3cv2/opIxedjw2OUtPQL/R9wvU4xLruuGDFXN4SF1Jbcp2YaNjvDYd1Z58JWAzLChEQA15ze6DUXjacCa5uBhPWF5LeODQmzG1XHpGJzFvvESipo3UVYr7+Jl9h/06suIHIfvghihKw2Wd+dzmbjjYktYYepoec9RXMBYx2vVwc6QTDdhs/hM9AyCosNOK4r8skT/hEYfAeUvDLAOHP1zRLhqNsOeUV71vl3FJn7BsC9QKG5YnE2lkIIF3qNuZ6S2tqZdlON1La70Ol0PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VAWcs/pHXXcA3rCMlkFUqCe7de8b2bD6xHr8cqvF32c=; b=kKXcRbB1FSIAoQ3MjFNMNymQnmRpXydsMuh33gHkoDjDcT4hNBWkrEQKpm6AgxQX260zUf3tAvjU2tRigeNB8DsId3DHT910bONfaAEWd0Qh3fvR7FknRXBHmojSpXkh5rzasUNzOh+Za6akMDWRQt11wqdFTlRAVgBnk4JUX/lxjuF6NYdW/ewbBrKB3DBjeN+7ZsbCFTT+jP2DXMbRgN4YySwcUUg+MaW912LqG0WMwipYOzepy4bktfAKEavVh9o7ma58oiGz4SdSHMVjdtrBH/IfJzyWC0MrEKnwvd9LimC5CWm1kwGm8dSviX/+4N3M5UQk4GICVA//FUWfjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=disney.com; dmarc=pass action=none header.from=disney.com; dkim=pass header.d=disney.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twdc.onmicrosoft.com; s=selector2-twdc-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VAWcs/pHXXcA3rCMlkFUqCe7de8b2bD6xHr8cqvF32c=; b=bL1Fmbij7skkDEeN8mlVnMZDRvOxtO/RPz6R4saFnOhFy1A00HzkQAM0Wylr5mwJ/TNjEwVHWTfUOU3GwOGTI4z3Xa0cE2dBgT15iklGP7/XFPrEWTKBU60+om3MiskKjXi7Uqdo+KX3Klcg6FUwUdcBguqvFEmXFK09EFMoj/o= Original-Received: from SJ0PR03MB6501.namprd03.prod.outlook.com (2603:10b6:a03:386::18) by SJ0PR03MB6519.namprd03.prod.outlook.com (2603:10b6:a03:38f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Sun, 12 Sep 2021 20:04:51 +0000 Original-Received: from SJ0PR03MB6501.namprd03.prod.outlook.com ([fe80::684b:26fd:c5c4:399c]) by SJ0PR03MB6501.namprd03.prod.outlook.com ([fe80::684b:26fd:c5c4:399c%5]) with mapi id 15.20.4500.018; Sun, 12 Sep 2021 20:04:51 +0000 Thread-Topic: bug#50514: 28.0.50; org inline call to python src block req C-g to break Thread-Index: AQHXppiNOwwgFucMxkWR4TIxV02Zmque1AGfgAEb64CAAAgLnIAAGtsAgAANbluAAIHUAIAAM56A In-Reply-To: <21C76818-63E5-4DC9-A60D-2BEF33813A18@disney.com> Accept-Language: en-US Content-Language: en-US x-mailer: Apple Mail (2.3654.120.0.1.13) authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=disney.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c05c8350-08ab-4316-7878-08d9762894e0 x-ms-traffictypediagnostic: SJ0PR03MB6519: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:663; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ns/NCHXp7Fu1ic8RVCJ4Mw2SKy3hh+nOSRWzcnlP9N0y2NfmtFz/Z0nKaT/VxRGDXWZWrUdfA0gqt16Q/2pFtvLDicFeKAAr3xNWoxLMR2y4cPXcYRXHVZwV8SoL8k0uMqBCTl+tZqLymcB9Dos1JkRPwkw89V2YFSBsVfZd2+lo9nqH3IUqyaxtp9jkWt8WLAbm3cIEihEC4r1ZI37qc+mmnfsL7Ua6qqDsPE6r6FFGnLXjfGTIBt32y9y4mTJpNJxvgkRF2rT2dE27nEnT7X7i+Us/t702gUzPhni3l2qPJJE42R/Q+8ImJtafp8KMrxthvg1Iuv4zYXFfiV8vM7gdCjnYrvYzzo4mdL9exXHRpjUTCRnn7Mzl/3k2mDZjUtvjQqHi1Xc+1Hgrdl9CG84BwMI7J+b2eCivjJLOq+zwVNRaqKoiFmxG5AwOb/7Pn0emFCZyzDcuhkCd8mwvOaCRweSHXg9X39rA+A6KcfUVC4FNxDCSvmkfL9suK0+jTkXAdE1g0qS15LGXzCyVTWswvkDPFtGzu3pscBT42syNp153ufnden0/XU8uSNEisdf9wofw0VFb90aP53cruwfGrwYEskw0wXKYzinOg4uZZIj3evlXc+Xg8rM/crc5ZBuJFrcl2/bCxmQhenfVz+b6btAgPgQYqtrx6H7MkJck7juqH3Jq6aIbaH4uGiUQrQ2bwSSPAWm3V5fG6rutCtphap7zSVg8BBede7uaxSU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR03MB6501.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(6506007)(36756003)(8936002)(316002)(66946007)(38100700002)(2906002)(6486002)(6916009)(54906003)(38070700005)(83380400001)(8676002)(33656002)(186003)(86362001)(4326008)(5660300002)(66446008)(64756008)(66556008)(66476007)(71200400001)(76116006)(122000001)(478600001)(2616005)(6512007)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: McJMcFf6gAE55ZV8XzzEvNI/7O7TulAlN8meH5oxwEzLKXMAfc77Fp25UgU/a7Z0i6Jr72veyh6AlHMaIFP5KmJ+Qoo8/3y1OW56P5wnRluYBKcFNuhm8wr9NVL96h5fq6Uw2DdkGKCfImGR+Mas1AU0maIVbuTNA65zb3D+vZxoF0F4Rd1Y8ESgOd9cujLmGoBOsE82Y4pH+SyXnHc6JO5EuIp0yMlpnd2LM8TL+cdehCHab+kHnWc1/R8UkLfd6t570Zg0jGnbcYLvB6wjY2ofPeOP0aE4uK9MLip0BWKJfaaVRrol6aNrYZUt5JAOzwBIJPY/2KNyidtN5Ez0LolGlxPziyvQb6FBXeWijmbcvHkObLXDiKD4Gpm6dAQqf9LoWNkyu6NxOUbTAYgZ80hPHEye9kcmirPj56TJUkyM1M9eZYE8YiRxWYw8ELE6+P06i3aA6IDlLi8+rKtMA9dbuxPM7UH2Niki+T+LN+uJCOFjuhMUG+fO2/id/vyxqqWsYq0EaX11bJKZfRQHZgC+hhpRLq1Tmjard3RSLa1/Z7oGoYjTWX8g6VigE1b5T0nWfQbZ5NmE1MXhu/D/YQAl5wEDQWDp2e3D/eIoBQFAdwi0Dq/4n/YY8pMRoTQhw2wN+lx/eHhnDVcTFYOaRAZ4SZdVo11KQyVs01KOpmjzOQFP1JaHtInyE/8JE/vu8dbX8cigdF3OLPy+mgMt39Fh/84tgkyK/kM295vb0x+hTiMVp+0t9pbWQ4 3mgofJImji462WTK3QCZLU9Y62fVavD+AMuI1w9GN/SBj0hFj+XvVKbsLfHgDd1Z/Dz9jdjEvwkTGG7vb642AA8+Qg64eLuxHD x-ms-exchange-transport-forked: True X-OriginatorOrg: disney.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB6501.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c05c8350-08ab-4316-7878-08d9762894e0 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Sep 2021 20:04:51.6750 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 56b731a8-a2ac-4c32-bf6b-616810e913c6 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: df00IklU9i9wp7D6Ipl2XfhNNpmrp+z7RWgSgEKovPuwAyhwV2nYVuKN66PuZU343dorjH2Fr1E2fv0jfvdxVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB6519 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:214160 Archived-At: --_000_73383502159B4BD988366C8A534A7063disneycom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable If I create the comint buffer myself and then make that inline python funct= ion call in the org document, then it works. Below is the lisp I evaluated = to make the comint buffer myself based on what I saw in the Backtraces. (python-shell-make-comint "python" "python-chain" nil) Here is the Backtrace where I tried to compare what happens when I need to = press C-g. #+begin_example C-c C-c needs to make comint shell Debugger entered--returning value: 0 alist-get(yas--post-command-handler ((python-shell-font-lock-post-command= -hook . 0) (yas--post-command-handler . 0) (company-post-command . 0) (comp= any-post-command . 0) (yas--post-command-handler . 0) (vertico--exhibit . -= 90) (consult--preview-post-command . 0) (vertico--exhibit . -90) (eldoc-sch= edule-timer . 0) (eldoc-schedule-timer . 0) (eldoc-schedule-timer . 0) (eld= oc-schedule-timer . 0) (eldoc-schedule-timer . 0) (python-shell-font-lock-p= ost-command-hook . 0) (jit-lock--antiblink-post-command . 0) (company-post-= command . 0) (company-post-command . 0) (yas--post-command-handler . 0) (ya= s--post-command-handler . 0) (company-post-command . 0) (yas--post-command-= handler . 0) (vertico--exhibit . -90) (vertico--exhibit . -90) (consult--pr= eview-post-command . 0) (vertico--exhibit . -90) (vertico--exhibit . -90) (= consult--preview-post-command . 0) (vertico--exhibit . -90) (vertico--exhib= it . -90) (company-post-command . 0) (yas--post-command-handler . 0) (hl-li= ne-highlight . 0) (magit-section-update-highlight . 90) (vertico--exhibit .= -90) (vertico--exhibit . -90) (company-post-command . 0) (yas--post-comman= d-handler . 0) (magit-section-update-highlight . 90) (consult--preview-post= -command . 0) (vertico--exhibit . -90) (company-post-command . 0) (yas--pos= t-command-handler . 0) (magit-section-update-highlight . 90) (company-post-= command . 0) (yas--post-command-handler . 0) (magit-section-update-highligh= t . 90) (vertico--exhibit . -90) (consult--preview-post-command . 0) (verti= co--exhibit . -90) (eldoc-schedule-timer . 0) ...) 0 nil eq) ,* #f(compiled-function (f1 f2) #)(yas--post-c= ommand-handler python-shell-font-lock-post-command-hook) ,* add-hook(post-command-hook python-shell-font-lock-post-command-hook nil = local) python-shell-font-lock-turn-on() inferior-python-mode() python-shell-make-comint("python" "python-chain" nil) run-python("python") org-babel-python-initiate-session-by-key("python-chain") org-babel-python-initiate-session("python-chain") org-babel-execute:python("print(\"testing12\", end=3D\"\")" ((:colname-na= mes) (:rowname-names) (:result-params "replace" "output") (:result-type . o= utput) (:results . "replace output") (:exports . "results") (:tangle . "no"= ) (:hlines . "no") (:noweb . "no") (:cache . "no") (:session . "python-chai= n"))) org-babel-execute-src-block(nil ("python" "print(\"testing12\", end=3D\"\= ")" ((:results . "output replace") (:exports . "results") (:session . "pyth= on-chain") (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no"= )) nil nil 360 "(ref:%s)")) org-ctrl-c-ctrl-c(nil) funcall-interactively(org-ctrl-c-ctrl-c nil) command-execute(org-ctrl-c-ctrl-c) #+end_example #+begin_example comint shell already exists Debugger entered--entering a function: ,* comint-snapshot-last-prompt() ,* comint-send-string(# "__PYTHON_EL_eval(\"try:\\n = with open('/var/folder...") python-shell-send-string("try:\n with open('/var/folders/kf/zdpzgs9d30= b3jj...") org-babel-python--send-string("*python-chain*" "with open('/var/folders/k= f/zdpzgs9d30b3jj4bdkdjf1v...") org-babel-python-evaluate-session("*python-chain*" "print(\"testing12\", = end=3D\"\")" output ("replace" "output")) org-babel-python-evaluate("*python-chain*" "print(\"testing12\", end=3D\"= \")" output ("replace" "output") nil) org-babel-execute:python("print(\"testing12\", end=3D\"\")" ((:colname-na= mes) (:rowname-names) (:result-params "replace" "output") (:result-type . o= utput) (:results . "replace output") (:exports . "results") (:tangle . "no"= ) (:hlines . "no") (:noweb . "no") (:cache . "no") (:session . "python-chai= n"))) org-babel-execute-src-block(nil ("python" "print(\"testing12\", end=3D\"\= ")" ((:results . "output replace") (:exports . "results") (:session . "pyth= on-chain") (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no"= )) nil nil 360 "(ref:%s)")) org-ctrl-c-ctrl-c(nil) funcall-interactively(org-ctrl-c-ctrl-c nil) command-execute(org-ctrl-c-ctrl-c) #+end_example --_000_73383502159B4BD988366C8A534A7063disneycom_ Content-Type: text/html; charset="us-ascii" Content-ID: <8B5734C48EDE274AB3EE635B071D9BB5@namprd03.prod.outlook.com> Content-Transfer-Encoding: quoted-printable If I create the comint buffer myself and then make that inline python = function call in the org document, then it works. Below is the lisp I evalu= ated to make the comint buffer myself based on what I saw in the Backtraces= .
(python-shell-make-comint= "python" "python-chain" nil)

Here is the Backtrace whe= re I tried to compare what happens when I need to press C-g.
#+begin_example C-c C-c needs to make comint shell
Debugger entered--returning value: 0
  alist-get(yas--post-command-handler ((python-shell-f= ont-lock-post-command-hook . 0) (yas--post-command-handler . 0) (company-po= st-command . 0) (company-post-command . 0) (yas--post-command-handler . 0) = (vertico--exhibit . -90) (consult--preview-post-command . 0) (vertico--exhibit . -90) (eldoc-schedule-timer . 0) (eldoc-schedule-t= imer . 0) (eldoc-schedule-timer . 0) (eldoc-schedule-timer . 0) (eldoc-sche= dule-timer . 0) (python-shell-font-lock-post-command-hook . 0) (jit-lock--a= ntiblink-post-command . 0) (company-post-command . 0) (company-post-command . 0) (yas--post-command-handler . 0) (yas--post= -command-handler . 0) (company-post-command . 0) (yas--post-command-handler= . 0) (vertico--exhibit . -90) (vertico--exhibit . -90) (consult--preview-p= ost-command . 0) (vertico--exhibit . -90) (vertico--exhibit . -90) (consult--preview-post-command . 0) (verti= co--exhibit . -90) (vertico--exhibit . -90) (company-post-command . 0) (yas= --post-command-handler . 0) (hl-line-highlight . 0) (magit-section-update-h= ighlight . 90) (vertico--exhibit . -90) (vertico--exhibit . -90) (company-post-command . 0) (yas--post-comm= and-handler . 0) (magit-section-update-highlight . 90) (consult--preview-po= st-command . 0) (vertico--exhibit . -90) (company-post-command . 0) (yas--p= ost-command-handler . 0) (magit-section-update-highlight . 90) (company-post-command . 0) (yas--post-command-handler . 0) (magit-se= ction-update-highlight . 90) (vertico--exhibit . -90) (consult--preview-pos= t-command . 0) (vertico--exhibit . -90) (eldoc-schedule-timer . 0) ...) 0 n= il eq)
,* #f(compiled-function (f1 f2) #<bytecode -0x6149ed0fee= 718f2>)(yas--post-command-handler python-shell-font-lock-post-command-ho= ok)
,* add-hook(post-command-hook python-shell-font-lock-post-c= ommand-hook nil local)
  python-shell-font-lock-turn-on()
  inferior-python-mode()
  python-shell-make-comint("python" "py= thon-chain" nil)
  run-python("python")
  org-babel-python-initiate-session-by-key("pytho= n-chain")
  org-babel-python-initiate-session("python-chain= ")
  org-babel-execute:python("print(\"testing1= 2\", end=3D\"\")" ((:colname-names) (:rowname-names) (:= result-params "replace" "output") (:result-type . outpu= t) (:results . "replace output") (:exports . "results")= (:tangle . "no") (:hlines . "no") (:noweb . "no") (:cache . "no") (:session . "python-chain= ")))
  org-babel-execute-src-block(nil ("python" = "print(\"testing12\", end=3D\"\")" ((:results= . "output replace") (:exports . "results") (:session .= "python-chain") (:cache . "no") (:noweb . "no&quo= t;) (:hlines . "no") (:tangle . "no")) nil nil 360 &quo= t;(ref:%s)"))
  org-ctrl-c-ctrl-c(nil)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  command-execute(org-ctrl-c-ctrl-c)

#+end_example

#+begin_example comint shell already exists
Debugger entered--entering a function:
,* comint-snapshot-last-prompt()
,* comint-send-string(#<process python-chain> "_= _PYTHON_EL_eval(\"try:\\n    with open('/var/folder..."= )
  python-shell-send-string("try:\n    w= ith open('/var/folders/kf/zdpzgs9d30b3jj...")
  org-babel-python--send-string("*python-chain*&q= uot; "with open('/var/folders/kf/zdpzgs9d30b3jj4bdkdjf1v...")
  org-babel-python-evaluate-session("*python-chai= n*" "print(\"testing12\", end=3D\"\")" o= utput ("replace" "output"))
  org-babel-python-evaluate("*python-chain*"= "print(\"testing12\", end=3D\"\")" output (&= quot;replace" "output") nil)
  org-babel-execute:python("print(\"testing1= 2\", end=3D\"\")" ((:colname-names) (:rowname-names) (:= result-params "replace" "output") (:result-type . outpu= t) (:results . "replace output") (:exports . "results")= (:tangle . "no") (:hlines . "no") (:noweb . "no") (:cache . "no") (:session . "python-chain= ")))
  org-babel-execute-src-block(nil ("python" = "print(\"testing12\", end=3D\"\")" ((:results= . "output replace") (:exports . "results") (:session .= "python-chain") (:cache . "no") (:noweb . "no&quo= t;) (:hlines . "no") (:tangle . "no")) nil nil 360 &quo= t;(ref:%s)"))
  org-ctrl-c-ctrl-c(nil)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  command-execute(org-ctrl-c-ctrl-c)

#+end_example


--_000_73383502159B4BD988366C8A534A7063disneycom_--