Up to [local] / OpenXM / src / ox_python
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 4 01:34:23 2022 UTC (2 years, 7 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -2
lines
Diff to previous 1.7 (unified) to selected 1.2 (unified)
configure accepts all versions of python3.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 2 02:54:00 2022 UTC (2 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.6: +2 -1
lines
Diff to previous 1.6 (unified) to selected 1.2 (unified)
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, 7 months ago) by takayama
Branch: MAIN
Changes since 1.5: +11 -7
lines
Diff to previous 1.5 (unified) to selected 1.2 (unified)
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, 8 months ago) by takayama
Branch: MAIN
Changes since 1.4: +13 -11
lines
Diff to previous 1.4 (unified) to selected 1.2 (unified)
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, 5 months ago) by takayama
Branch: MAIN
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (unified) to selected 1.2 (unified)
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 (5 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.2: +61 -4
lines
Diff to previous 1.2 (unified)
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 - [selected], Sat Sep 8 03:05:19 2018 UTC (5 years, 11 months ago) by takayama
Branch: MAIN
Changes since 1.1: +104 -5
lines
Diff to previous 1.1 (unified)
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 (5 years, 11 months ago) by takayama
Branch: MAIN
Diff to selected 1.2 (unified)
The initial version of ox_python. sm_executeStringByLocalParser is executed by PyRun_SimpleString(). See assert1.rr