emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Benda Xu <heroxbd@gentoo.org>
To: emacs-orgmode@gnu.org
Cc: Dan Davison <davison@stats.ox.ac.uk>,
	Eric Schulte <schulte.eric@gmail.com>
Subject: Babel python regression org-mode-8 (Was: Bug: babel python indentations fail in sessions [8.3.1])
Date: Thu, 17 Sep 2015 12:09:35 +0900	[thread overview]
Message-ID: <87fv2doi6o.fsf_-_@gentoo.org> (raw)
In-Reply-To: <87si6ecrjy.fsf@kyleam.com> (Kyle Meyer's message of "Wed, 16 Sep 2015 11:28:01 -0400")

Hi Kyle,

Kyle Meyer <kyle@kyleam.com> writes:

> Benda Xu <heroxbd@gentoo.org> writes:
>>
>> 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.

Thanks for the pointer!  Interesting.

@Eric, @Dan, what's your insight for

  http://thread.gmane.org/gmane.emacs.orgmode/95980/focus=96076

Cheers,
Benda

      reply	other threads:[~2015-09-17  3:08 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
2015-09-17  3:09   ` Benda Xu [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fv2doi6o.fsf_-_@gentoo.org \
    --to=heroxbd@gentoo.org \
    --cc=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).