From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mN9XIXVKgl9vWQAA0tVLHw (envelope-from ) for ; Sat, 10 Oct 2020 23:57:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id e1sFHXVKgl/1EwAAbx9fmQ (envelope-from ) for ; Sat, 10 Oct 2020 23:57:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7DDEA940390 for ; Sat, 10 Oct 2020 23:57:40 +0000 (UTC) Received: from localhost ([::1]:55188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kROk5-0004fq-JU for larch@yhetil.org; Sat, 10 Oct 2020 19:57:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kROjg-0004fV-3X for emacs-orgmode@gnu.org; Sat, 10 Oct 2020 19:57:12 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:44021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kROjd-0001TE-Qx for emacs-orgmode@gnu.org; Sat, 10 Oct 2020 19:57:11 -0400 Received: by mail-pl1-x633.google.com with SMTP id o9so6431889plx.10 for ; Sat, 10 Oct 2020 16:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=1sTdp75p/ycEiml3/3OZ4GhnUWlbeuHtV/p9fa1CYcg=; b=Xe9q9ZAJoA4ZewXLlyYAHWC1UCMrEwzyA4vtMfgN2xFtIREDp6Je1OKriENUazP4gh WI6hzvBbeEce7RiEfrV68eKl2bly8NUIHVc/MaV8u0kVsnjaCeILA/g0vfE328j+p5wj 4yqQsw2XHkGPQ5OQLj/GwGEtFHxRKzTob9lAiklRIDV7MIi/Ojz+r89Dzfbk7I0uNoCH ES30kW/rE/aR9TA6ZLR98IU9/mhiDRBJbiEelGbYaypMR5ef7RoPwtq2ngIUZpTSFcrD 8EWKCfGBUwpG82RkVnxCP+CRBDOH0Kr78jRq6xZclRVfYrPy3+12YQxmYwPS2ZBjW4Ag 0Mbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=1sTdp75p/ycEiml3/3OZ4GhnUWlbeuHtV/p9fa1CYcg=; b=JVskEn+1myTTgdJriL7jG8WfkeU6ftXvbhQhl+uAu/1nO1WLD/J07Y/aUX13iC6Ol6 SbVxCHrd4HQZtM/SbasBVuSz10+GxXDn4XPfNfieXULjBnpO5hVSNB++w2vh133PQdJd x+S5V26DAXo5RtnP/wEn0TFWApxzO7ITiAX9mDfk86rZIPpSPgxBrvwLTqoep4jZmTov 8uBHKs6C3Y35Q/HlzREdcsJsZfQSdGuhbHDBranZa8U+dVa896SWolcR7nnxHQ3BW8Ys V2GbiHziHyMsk8sKkLFpAZKaUo0EpMzwszRSUzhsZol4l1yAJsf5IW2HR3k0/NzwV1yb N97w== X-Gm-Message-State: AOAM5337VUD12Ve+e5pk2gXP2kLZArdKotnF5Y4agoeC018wSOcNN26g FFUWcEEVr/g2XaMo3lNw4hI= X-Google-Smtp-Source: ABdhPJxnXGpPmOD5byDS4+6yka+HqfKU1q/W1aQ7pC+wTBhqyXFdjEk2ozw2KoJ4kirv4YeII1SrlQ== X-Received: by 2002:a17:902:64c8:b029:d3:c693:8ce8 with SMTP id y8-20020a17090264c8b02900d3c6938ce8mr18097597pli.27.1602374227590; Sat, 10 Oct 2020 16:57:07 -0700 (PDT) Received: from localhost (199-83-220-90.PUBLIC.monkeybrains.net. [199.83.220.90]) by smtp.gmail.com with ESMTPSA id b22sm14707127pff.131.2020.10.10.16.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Oct 2020 16:57:06 -0700 (PDT) From: Jack Kamm To: ian martins , Philip Blagoveschensky Subject: Re: Bug: org-babel python with :results value sends function definition with a statement after a for loop to the shell incorrectly [9.3.6 (9.3.6-elpa @ /home/username/.emacs.d/elpa/org-9.3.6/)] In-Reply-To: <87blkbv7su.fsf@gmail.com> References: <5c1caa08-6c08-ebb9-ee81-76143c3a60b2@crabman.me> <87blkbv7su.fsf@gmail.com> Date: Sat, 10 Oct 2020 16:57:05 -0700 Message-ID: <87362lws6m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=jackkamm@gmail.com; helo=mail-pl1-x633.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Xe9q9ZAJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: 6rPqmHPW/VWE Checking back in on this since Org 9.4 has been released. This issue should be fixed now, and my tests corroborate this. If you're still experiencing this problem after updating, please let me know. Best, Jack Jack Kamm writes: >> I redid the test but loaded the lastest org-mode and there was no >> error. This means you probably don't need to debug this. It has been >> fixed in the latest version, but the fix hasn't been updated in the >> elpa package yet. you can either wait for the next release or pull >> the latest code from the repo. > > Thanks for checking this Ian, I believe that this issue would have been > fixed by this patch: > > https://orgmode.org/list/87pnfdo88v.fsf@gmail.com/ > > But I've been too swamped to check.