From: Kyle Meyer <kyle@kyleam.com>
To: Benda Xu <heroxbd@gentoo.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: babel python indentations fail in sessions [8.3.1]
Date: Wed, 16 Sep 2015 11:28:01 -0400 [thread overview]
Message-ID: <87si6ecrjy.fsf@kyleam.com> (raw)
In-Reply-To: <87fv2e2znt.fsf@gentoo.org> (Benda Xu's message of "Wed, 16 Sep 2015 23:43:02 +0900")
Hello,
Benda Xu <heroxbd@gentoo.org> 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
next prev parent reply other threads:[~2015-09-16 15:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 14:43 Bug: babel python indentations fail in sessions [8.3.1] Benda Xu
2015-09-16 15:28 ` Kyle Meyer [this message]
2015-09-17 3:09 ` Babel python regression org-mode-8 (Was: Bug: babel python indentations fail in sessions [8.3.1]) Benda Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87si6ecrjy.fsf@kyleam.com \
--to=kyle@kyleam.com \
--cc=emacs-orgmode@gnu.org \
--cc=heroxbd@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.