52 Commits

Author SHA1 Message Date
lyon
994bb3bdc5 add weakref
add PikaUI test

test PikauI_core passed

save host_obj on methodArg

support save host_obj for method
2023-02-11 00:58:58 +08:00
lyon
612a8aa33d try to fix chain err 2023-02-09 17:16:40 +08:00
lyon
72cd354a8d fix run_file 2023-02-09 15:48:52 +08:00
lyon
73e056141b fix mem leak when exit thread
support tuple args for _thread.start_new_thread()

update _thread
2023-02-01 21:35:49 +08:00
lyon
9b82685e4d check faild on network
fix pos to kw when no enough pos

ifconfig test ok
2023-01-25 14:13:09 +08:00
lyon
68fac66530 fix fn and arg scope, support type() for basic arg 2023-01-23 23:53:40 +08:00
lyon
e2a9489a87 fix tim no found 2023-01-22 23:25:20 +08:00
lyon
d77e7f3f2d add filter for dir() 2023-01-22 23:16:38 +08:00
lyon
cfcf88d6bd fix * / compose 2023-01-06 15:36:39 +08:00
lyon
e524c2b6ad fix fn_pos_kw_issus2 2022-12-21 13:08:42 +08:00
lyon
1ceb015391 fix load err when fn(pos, kw=xxx) 2022-12-21 00:26:01 +08:00
lyon
3afd92608a fix typo of getArgByIndex 2022-12-21 00:13:19 +08:00
lyon
f6b97e1f7a add test for def not in 2022-12-17 15:47:08 +08:00
lyon
251c450248 support x not in y syntax 2022-12-15 01:07:27 +08:00
lyon
d78aec86dd fix mem leak caused by kw pars refcnt err 2022-12-10 17:10:15 +08:00
lyon
853d5be3b5 fix leak when load kw dict to default 2022-12-10 16:30:43 +08:00
lyon
48af01fc58 support help('modules') 2022-11-30 01:00:44 +08:00
lyon
a3dd8a674d support **kw unpack 2022-11-29 21:01:47 +08:00
lyon
c8ab4ce3cb adding format
fix star with pos
2022-11-29 20:05:13 +08:00
pikastech
61618834f0 support unpack *var 2022-11-29 16:50:49 +08:00
pikastech
a09d32d6ac format load_call_arg
use f struct

support stack check arg
2022-11-29 16:06:18 +08:00
pikastech
9d9d463120 fix kw to pos 2022-11-28 17:12:50 +08:00
pikastech
a3a444ce4f support kw to pos 2022-11-28 16:45:56 +08:00
lyon
e89c585f46 update kernal, fix CI 2022-11-22 18:01:54 +08:00
lyon
5bb24375ae add python layer for requests to connnect url 2022-11-22 13:44:00 +08:00
lyon
416e8b12fc cut no used code for nano by nano_lcov 2022-11-16 21:22:31 +08:00
lyon
09643a4a3b support runByteCodeFile 2022-11-15 23:09:13 +08:00
pikastech
9418eceb9e support check pos arg num for default fn 2022-11-15 20:15:58 +08:00
lyon
363238987e support fn and class def on bytecode
update version, fix warning
2022-11-15 14:57:51 +08:00
lyon
307477f033 fix get arg_num_pos
check is_keys is_vars is_default

support load default from pos arg
2022-11-15 12:22:34 +08:00
pikastech
6d61bc07cc support print None
optimizing runbytecode

use _cache_bcf

arrange the run_bytecode and cache

more args for _do_pikaVM_runBytecode

support print(None)
2022-11-14 16:11:21 +08:00
lyon
7d90370d4c fix parse err for kw def
fix VM typelist overflow
2022-11-12 23:18:11 +08:00
pikastech
766c9bf7c9 add test_purec.h to support run unittest on purec 2022-10-28 18:39:50 +08:00
lyon
123a110080 cut for pikanano 2022-10-26 20:50:37 +08:00
lyon
cd5f239ce7 scan for each vm point for exit issue 2022-10-26 19:03:24 +08:00
lyon
ad930aca6f add test for exit at any time 2022-10-26 17:16:50 +08:00
lyon
9283968a1c add test by exit innter vm hock 2022-10-26 16:57:29 +08:00
lyon
157a3475c1 add exit_tests 2022-10-26 11:37:17 +08:00
lyon
ed060f0c24 use u32 size value inner *.py.o 2022-10-23 18:57:00 +08:00
pikastech
018a3d579f optimize speed for range 2022-10-13 01:24:58 +08:00
pikastech
3f9195f89d optimize speed for obj_getObjDirect
optimize speed for arg_append
2022-10-09 13:40:56 +08:00
pikastech
72aa1f8f95 fix test 2022-10-09 00:24:33 +08:00
pikastech
126a817d49 add cache for arg_alloc/free, cache for 6.56% 2022-10-08 18:06:43 +08:00
pikastech
00775cc299 use @rt inner the return 2022-10-08 12:41:18 +08:00
pikastech
1748e306d6 optimize speed for OPT 2022-10-05 21:09:13 +08:00
pikastech
e0aae36a1a reduce malloc 2022-10-05 20:36:00 +08:00
pikastech
060ac91f3d reduce alloc for stack push/pop 2022-10-05 01:04:37 +08:00
pikastech
201953c15c fix config name 2022-09-28 12:31:05 +08:00
pikastech
d63d50a322 use pika_float to support switch for float/double
update pre-comp

update pre-win
2022-09-28 11:54:10 +08:00
pikastech
efd9abbf17 add mem check
add big_dict_update test
2022-09-27 21:30:30 +08:00