Re: [O] Python code block hangs with :session if python-mode is loaded

2012-04-01 Thread Rustom Mody
At some point I tried IPython under emacs in windows and had some problems. >From what Eric is saying they may be similar to this http://lists.gnu.org/archive/html/help-gnu-emacs/2011-05/msg00291.html https://bugs.launchpad.net/ipython/+bug/290228

Re: [O] Python code block hangs with :session if python-mode is loaded

2012-04-01 Thread Richard Stanton
> The above executes without problem for me regardless of whether python- > mode has been explicitly loaded. I have python mode py-version "5.1.0" on > my machine. My guess is that python-mode changed the session prompt in > such a way that Babel can not tell when execution has completed. I have

Re: [O] Python code block hangs with :session if python-mode is loaded

2012-04-01 Thread Eric Schulte
Richard Stanton writes: > I have python-mode (latest version from Launchpad) set up to handle python > editing in Emacs. > > Using orgmode, the following code block runs fine if Ipress C-c C-c, > producing the (correct) output shown: > > #+begin_src python :results output > print "%d + %d = %d"

[O] Python code block hangs with :session if python-mode is loaded

2012-03-31 Thread Richard Stanton
I have python-mode (latest version from Launchpad) set up to handle python editing in Emacs. Using orgmode, the following code block runs fine if Ipress C-c C-c, producing the (correct) output shown: #+begin_src python :results output print "%d + %d = %d" % (2, 3, 2+3) 2**5 #+end_src #+RESULTS