[O] Bug: babel python indentations fail in sessions [8.3.1]

2015-09-16 Thread Benda Xu
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 "", line 3 : print "hey" : ^ : SyntaxError: invalid syntax but this works:

Re: [O] Bug: babel python indentations fail in sessions [8.3.1]

2015-09-16 Thread Kyle Meyer
Hello, Benda Xu 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 "", line 3 >: print