On Fri, Mar 29, 2013 at 11:35 AM, John Hendy <jw.hendy@gmail.com> wrote:


This isn't working for me on Org-8.0 (from that Worg page):

#+begin_src python :session
def foo(x):
  if x>0:
    return x+1
  else:
    return x-1

foo(1)
#+end_src

#+RESULTS:
: None

Try applying my patch from this list a few days ago; I think it will work then.  Without it, session mode is totally broken (I think). 

--
Gary