From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mHkuARk1lF/vRwAA0tVLHw (envelope-from ) for ; Sat, 24 Oct 2020 14:07:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IGW1OBg1lF9UKgAA1q6Kng (envelope-from ) for ; Sat, 24 Oct 2020 14:07:20 +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 46FE39402A2 for ; Sat, 24 Oct 2020 14:07:20 +0000 (UTC) Received: from localhost ([::1]:48408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWKCT-0006M3-Fi for larch@yhetil.org; Sat, 24 Oct 2020 10:07:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWKBl-0006Lx-AB for emacs-orgmode@gnu.org; Sat, 24 Oct 2020 10:06:33 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:36863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWKBi-0001ef-Qy; Sat, 24 Oct 2020 10:06:32 -0400 Received: by mail-pl1-x643.google.com with SMTP id r10so2500209plx.3; Sat, 24 Oct 2020 07:06:29 -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:content-transfer-encoding; bh=hr1j7LUBEU1V0YfG+vyr3pPnd36Xv2b8ljIDSCWdIqk=; b=lGCv6ZcH8DI/Exp85Dmc1qnN+JsE/2MOqBkHDkRIY65npm9MTbQ6IXUAO6hJJZCQZw s0zsbu3H5CKKgO2wTXpMVOC1cZ7tZzBFHhrjisNJhUKFbCVMjr2o9yXKWXhtB8qhpr6X kBobe4Y//7Cpg70ZGp/FXZgv+4hHN2O5aN8985GLNv032KKpxCLiBPlw2cixoTweblJ1 6cVRT/gFy6TRmDkrfFFSBCe460HLa5JlQCuraOwNTYc6FA4hnVue4hfIQbnHAPzjyclD d4dOMjOfb9r5YnOAA5QJo7VFdE14ISodMieCXNzsNmG0oZiOjmgdyj4tj94tAfmhlAKw rrsg== 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:content-transfer-encoding; bh=hr1j7LUBEU1V0YfG+vyr3pPnd36Xv2b8ljIDSCWdIqk=; b=Snwt3gNZxhIPmWISsNx51jLIYTE9vO2OqaUzqZvPgkfkwsz6S6ea1YHDVfU3u5S6hk WNUfRx6dvSIc7kQWAi3XxpPB9VRjyUv1knUlOMzGJVxSjgwpmqE6oZFx7LYfzaL+nXbJ lFgwwnBuodN680Ez8/xuxwh31waU8bZQC9v/jTev6zEb5pCH06nZD6PHr4+N0kH+1J7W /ARo8t6u8dejeuO2ByZMOQ/GXr0qlPlPLgmwS1JuumVOizk3NqcEtLlZG9uwx9WhD0qm fkeiNfNVqbIU1JMK4KTMH9fL2a7HSiSueIP7CG1Rew/ra9jeYCvtlGtWEibMAAxjIkhy hepw== X-Gm-Message-State: AOAM531OWLs6MA223RBZZm0UZB+IELervbLKj5rMMtS2f0fdC4rrqre2 FmUmojpIQMI64YKNM0ruapt0yNvhsPU= X-Google-Smtp-Source: ABdhPJx8b7l18uvKs4xWg6y7l8GMUUqVyFEglgGE2Z9GYFwhXHzWVcaXYHS2X+nT9EkWr9Fo+ptbbA== X-Received: by 2002:a17:902:8608:b029:d4:c459:f1e8 with SMTP id f8-20020a1709028608b02900d4c459f1e8mr2050536plo.36.1603548388288; Sat, 24 Oct 2020 07:06:28 -0700 (PDT) Received: from localhost (199-83-220-90.PUBLIC.monkeybrains.net. [199.83.220.90]) by smtp.gmail.com with ESMTPSA id n2sm6632560pja.41.2020.10.24.07.06.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Oct 2020 07:06:27 -0700 (PDT) From: Jack Kamm To: Bastien Subject: Re: [PATCH] ob-python: Rename exec tmpfile handle to prevent conflict In-Reply-To: <87blgrn8l7.fsf@gnu.org> References: <87pn5uzh2i.fsf@student.kit.edu> <875z7hwuc9.fsf@gmail.com> <87blgrn8l7.fsf@gnu.org> Date: Sat, 24 Oct 2020 07:06:26 -0700 Message-ID: <87lffvn2fx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::643; envelope-from=jackkamm@gmail.com; helo=mail-pl1-x643.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, Adrian =?utf-8?Q?Kummerl=C3=A4nder?= Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=lGCv6ZcH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.09 X-TUID: IleLWQFtX17X Thanks Bastien, the Woof! tool looks interesting. By the way, on seeing this thread again, I realized this patch probably sho= uld have been applied to the maint branch. So I've cherry picked it into th= ere, and merged back into master. Bastien writes: > Hi Jack and Adrian, > > Jack Kamm writes: > >> Adrian Kummerl=C3=A4nder writes: >> >>> I noticed that after updating to Org 9.4 many of my Python-based Org >>> files fail to execute with various `io.TextIOWrapper' related error >>> messages. The reason for this is that opening the exec tmpfile as `f' >>> shadows this possibly user-defined variable. >>> >>> The attached patch fixes this problem for me. As this is my first >>> time contributing to Org I am especially open for any suggestions! >> >> The patch looks good. I've pushed it to master, after making a couple >> minor fixes to the commit message (adding a TINYCHANGE cookie and >> adjusting some of the spacing). > > Thanks for applying the patch, I'm marking it as "applied" through > Woof! adding "X-Woof-Patch: applied" in the headers. > > Best, > > --=20 > Bastien