# HG changeset patch # User Mike Miller # Date 1519343715 28800 # Node ID 3af3665348a1d2ad0a78aa521cab93113a17a1d2 # Parent 750a86973625ce493e7537448d3da902b973f06e Also update doctests in compiled functions * pycall.cc, pyeval.cc, pyexec.cc: Update doctests. * @pyobject/dummy.m, @pyobject/cell.m: Use FIXME and https in comments. diff -r 750a86973625 -r 3af3665348a1 @pyobject/cell.m --- a/@pyobject/cell.m Wed Oct 25 13:16:53 2017 -0700 +++ b/@pyobject/cell.m Thu Feb 22 15:55:15 2018 -0800 @@ -37,7 +37,7 @@ ## However, we can convert the list to a cell array: ## @example ## @group -## @c TODO: display of cell array in flux: savannah.gnu.org/bugs/?50756 +## @c FIXME: display of cell array in flux: https://savannah.gnu.org/bugs/?50756 ## @c doctest: +XFAIL ## C = cell (L) ## @result{} C = @@ -54,7 +54,7 @@ ## The conversion is not recursive, in the following sense: ## @example ## @group -## @c TODO: display of cell array in flux: savannah.gnu.org/bugs/?50756 +## @c FIXME: display of cell array in flux: https://savannah.gnu.org/bugs/?50756 ## @c doctest: +XFAIL ## L = pyeval ("[10.0, 20.0, [33.0, 44.0], 50.0]"); ## C = cell (L) diff -r 750a86973625 -r 3af3665348a1 @pyobject/dummy.m --- a/@pyobject/dummy.m Wed Oct 25 13:16:53 2017 -0700 +++ b/@pyobject/dummy.m Thu Feb 22 15:55:15 2018 -0800 @@ -136,7 +136,7 @@ ## or if needed, the list can be converted to a cell array: ## @example ## @group -## @c TODO: display of cell array in flux: savannah.gnu.org/bugs/?50756 +## @c FIXME: display of cell array in flux: https://savannah.gnu.org/bugs/?50756 ## @c doctest: +XFAIL ## cell (L) ## @result{} ans = diff -r 750a86973625 -r 3af3665348a1 pycall.cc --- a/pycall.cc Wed Oct 25 13:16:53 2017 -0700 +++ b/pycall.cc Thu Feb 22 15:55:15 2018 -0800 @@ -61,7 +61,7 @@ pycall (s.add, 3)\n\ \n\ r = pycall (s.add, 4)\n\ - @result{} r = [pyobject ...]\n\ + @result{} r = [Python object of type NoneType]\n\ \n\ None\n\ \n\ diff -r 750a86973625 -r 3af3665348a1 pyeval.cc --- a/pyeval.cc Wed Oct 25 13:16:53 2017 -0700 +++ b/pyeval.cc Thu Feb 22 15:55:15 2018 -0800 @@ -51,7 +51,7 @@ pyeval (\"sys.version\")\n\ @result{} ...\n\ pyeval (\"dict(two=2)\")\n\ - @result{} [pyobject ...]\n\ + @result{} [Python object of type dict]\n\ @{'two': 2@}\n\ @end group\n\ @end example\n\ diff -r 750a86973625 -r 3af3665348a1 pyexec.cc --- a/pyexec.cc Wed Oct 25 13:16:53 2017 -0700 +++ b/pyexec.cc Thu Feb 22 15:55:15 2018 -0800 @@ -44,6 +44,8 @@ Examples:\n\ @example\n\ @group\n\ +@c FIXME: Python stdout not same as Octave's https://bitbucket.org/mtmiller/pytave/issues/58\n\ +@c doctest: +XFAIL\n\ pyexec (\"print(42)\")\n\ @print{} 42\n\ @end group\n\