[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: babel python indentations fail in sessions [8.3.1]
From: |
Kyle Meyer |
Subject: |
Re: [O] Bug: babel python indentations fail in sessions [8.3.1] |
Date: |
Wed, 16 Sep 2015 11:28:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hello,
Benda Xu <address@hidden> writes:
> Dear All,
>
> The following code block fails:
>
> #+BEGIN_SRC python :results output :session
> for i in (1, 2):
> pass
> print "hey"
> #+END_SRC
>
>
> #+RESULTS:
> :
> : ... ... File "<stdin>", line 3
> : print "hey"
> : ^
> : SyntaxError: invalid syntax
[...]
> Any ideas?
I summarized my understanding of the issues with python sessions here
(the issue you report is #3):
http://thread.gmane.org/gmane.emacs.orgmode/95980/focus=96076
It's on my TODO list to revisit.
--
Kyle