|
| From: | Tobias Müller |
| Subject: | [O] Bug: Python session raises indentation error [9.2.6 (9.2.6-elpa @ /home/tobias/.emacs.d/elpa/org-9.2.6/)] |
| Date: | Mon, 14 Oct 2019 19:55:52 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
|
Dear org-mode developer, #+begin_src python :session
for k in range(3):
print(k)
#+end_src
removing the :session header argument leads to correct execution of the code block. The same is true if the :results output header argument is used. If the blank line within the for-loop is removed the loop also
gets executed correctly, however after executing the block the
error NameError: name '_' is not defined is raised in
the buffer of the Python session. The generated info-file is attached to this mail. Best regards, |
info
Description: Binary data
| [Prev in Thread] | Current Thread | [Next in Thread] |