I do not think that =org-babel-read= is correctly handling Python
tuples that are returned from source blocks.
If I execute the following source block:
#+begin_src python :results value
return (1,2)
#+end_src
I get the following error message:
: Symbol's function definition is void: 1\,
The Python output for this source block is =(1,2)=, which =org-babel-read=
interprets as lisp and tries to eval.
I can work around the problem using either a Python list:
#+begin_src python :results value
return [1,2]
#+end_src
or by using =:results output=
#+begin_src python :results output :session
(1,2)
#+end_src
Regards,
Scott
Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.21.6)
of 2010-09-01 on rhenium, modified by Debian
Package: Org-mode version 7.4 (release_7.4.529.gb23d)
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode