From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: William Henney <whenney@gmail.com>
Cc: Florian Lindner <mailinglists@xgm.de>, emacs-org <emacs-orgmode@gnu.org>
Subject: Re: Problem with python session
Date: Sun, 09 Oct 2016 11:30:04 +0200 [thread overview]
Message-ID: <87twclkgyr.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAKchnZO9k0APgsB6wEHaEfj0DPCcJX54=Vc=HbejcTPuMwUhMA@mail.gmail.com> (William Henney's message of "Thu, 6 Oct 2016 12:54:49 -0500")
Hello,
William Henney <whenney@gmail.com> writes:
> I can reproduce your problem. This is (arguably) a bug in ob-python when
> using the vanilla python interpreter together with the :session argument.
> You can work around it by putting a blank line after the for-loop in your
> second code block.
>
> I say that it is arguable that this is a bug or not since you would have
> exactly the same error if you were to literally type your code block in at
> the python interactive prompt. That is, you have to give a second newline
> in order to close the loop and return to the top-level prompt. However, it
> is admittedly confusing to have different behavior with and without the
> ":session" argument.
Thank you for the analysis. Would you have a suggestion on how to
improve the situation?
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-10-09 9:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 12:41 Problem with python session Florian Lindner
2016-10-06 17:54 ` William Henney
2016-10-09 9:30 ` Nicolas Goaziou [this message]
2016-10-10 18:40 ` John Kitchin
2016-10-11 15:53 ` Nicolas Goaziou
2016-10-13 4:10 ` William Henney
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=87twclkgyr.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=mailinglists@xgm.de \
--cc=whenney@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).