DONE python :results value fails with result ending in newline

  • State "DONE" from "TODO" 2010-06-07 Mon 17:48

which is superficially surprising, but anyway, I think the regexp in org-babel-number-p needs a tweak. Not quite sure exactly how though.

return "x\n"

ah, improper assumption that results would be single line, nice catch.

should be fixed now…

(if (org-babel-number-p "x\n")
  "yes" "no")