emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ob-python: Rename exec tmpfile handle to prevent conflict


From: Adrian Kummerländer
Subject: [PATCH] ob-python: Rename exec tmpfile handle to prevent conflict
Date: Wed, 7 Oct 2020 08:27:33 +0200
User-agent: mu4e 1.2.0; emacs 28.0.50

Hello,

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!

Best regards,
Adrian

Attachment: 0001-ob-python-Rename-exec-tmpfile-handle-to-prevent-conf.patch
Description: ob-python: Rename exec tmpfile handle to prevent conflict


reply via email to

[Prev in Thread] Current Thread [Next in Thread]