Powered by Apache

CVS log for OpenXM/src/ox_python/ox_python.c

[BACK] Up to [local] / OpenXM / src / ox_python

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [selected], Tue Jan 4 01:34:23 2022 UTC (2 years, 10 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

configure accepts all versions of python3.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 2 02:54:00 2022 UTC (2 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) to selected 1.8 (colored)

Bug of a big string.  python.execute_by_file(Cmd1,Cmd_to_get_a_value)
Example: python.execute_by_file(["import numpy as np","A=[[1,1],[2,3]]"],"np.linalg.matrix_rank(A)");

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 2 00:23:25 2022 UTC (2 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.5: +11 -7 lines
Diff to previous 1.5 (colored) to selected 1.8 (colored)

Bug fix of error handling. BUG: Py_RunString or Py_RunSimpleString do not accept big matrix
of size 1540x2043.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 31 07:43:48 2021 UTC (2 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.4: +13 -11 lines
Diff to previous 1.4 (colored) to selected 1.8 (colored)

python2 --> python3,  On the linux system, python3.8 is assumed (bug of python3-config --ldflags? -lpython3.x is missing)

Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 22 00:14:50 2019 UTC (5 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.8 (colored)

Makefile.mac is the Makefile for MacOSX.
For other systems, "./configure" works.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 8 05:04:34 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.2: +61 -4 lines
Diff to previous 1.2 (colored) to selected 1.8 (colored)

my_eval2() works, but I do not know the reason why my_eval() does not work.
Todo, my_eval2() generates pModule and pFunc at each execution. Is it OK?

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 8 03:05:19 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.1: +104 -5 lines
Diff to previous 1.1 (colored) to selected 1.8 (colored)

ox_cmo_rpc(Pid,"eval","1+2")$
printf("result of eval 1+2= %a\n",ox_pop_cmo(Pid))$
returns error
TypeError: eval must be given globals and locals when calle without a frame

This bug has not been fixed.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 8 00:16:19 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Diff to selected 1.8 (colored)

The initial version of ox_python.
sm_executeStringByLocalParser is executed by PyRun_SimpleString().
See assert1.rr

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>