From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: Strange python output using session Date: Mon, 10 Sep 2012 14:08:34 -0700 Message-ID: <40C7B1BFC291ED4E9D10436D07736A3347089E6710@EXMAIL7.haas.uc.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBBDj-0005No-NG for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 17:08:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBBDi-0005UY-Ln for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 17:08:39 -0400 Received: from gateway-b.haas.berkeley.edu ([128.32.222.40]:16992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBBDi-0005UM-Fq for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 17:08:38 -0400 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" I get an extra blank item plus some strange formatting on my output when I = use the :session key in a python source block. Here's a simple example show= ing the problem: --------------- * Examples #+BEGIN_SRC python :results output print "hello" print "bye" print 2 #+END_SRC #+RESULTS: : hello : bye : 2 #+BEGIN_SRC python :results output :session print "hello" print "bye" print 2 #+END_SRC #+RESULTS: :=20 : hello : >>> bye : >>> 2