508 Commits

Author SHA1 Message Date
pikastech
718b11d482 support try except in cmodule
not use try_top or try_inner

try dict nofound and try len is tested ok
2022-08-30 15:37:09 +08:00
pikastech
87da4d26d1 release v1.10.5, and readyto re 2022-08-29 18:57:10 +08:00
pikastech
8404d5a305 support '//' transfer to '/' 2022-08-29 18:09:45 +08:00
pikastech
cfbc2d98f9 fix cre.c:310:3: error: a label can only be part of a statement and a declaration is not a statement 2022-08-29 16:58:01 +08:00
pikastech
a0b14d80e2 update readme.md 2022-08-29 16:45:41 +08:00
pikastech
0e19a6a2b5 fix some mem leaks 2022-08-29 16:32:10 +08:00
pikastech
f76e456ea0 add test, examples for re, fix some mem leak 2022-08-29 16:29:03 +08:00
pikastech
004c0b45fc add more comments for sockets 2022-08-28 15:13:39 +08:00
pikastech
12bb6bf4a9 add check version MACRO 2022-08-27 14:55:08 +08:00
pikastech
f09ea25237 add version check for socket and stddevice 2022-08-26 20:05:20 +08:00
pikastech
5f75d370dd update stddevice 2022-08-26 19:41:25 +08:00
pikastech
3d97469e25 add platform_h for socket.c 2022-08-26 17:55:17 +08:00
pikastech
7244267b68 test socket ok 2022-08-26 17:25:45 +08:00
pikastech
ecaf7ed0e9 add __platform for socket, add override 2022-08-26 16:40:12 +08:00
pikastech
11088f6b4b rm -api
generate only one -api file
2022-08-25 11:23:56 +08:00
pikastech
2a4115722e create socket.py
support socket on linux
2022-08-25 00:54:27 +08:00
pikastech
ab32fd37ae fix stdlib.pyi macro 2022-08-24 13:26:06 +08:00
pikastech
34ad50ffe8 fix macro in stddevice 2022-08-24 13:18:38 +08:00
pikastech
04da2b93b6 supporting decorator to macro in pyi
update PikaObj.pyi

use @PIKA_C_MACRO_IF to cut sysobj
2022-08-24 13:01:11 +08:00
pikastech
7e15e5e202 support __add__() for list 2022-08-16 17:40:11 +08:00
pikastech
1152ed91de format stddata 2022-08-16 12:24:26 +08:00
pikastech
d01ca77a51 support *var in py function 2022-08-16 12:21:11 +08:00
pikastech
77e291101f improve ABSTRACT_METHOD error info. 2022-08-16 11:05:19 +08:00
pikastech
76ce590713 fix typo 2022-08-14 23:58:24 +08:00
pikastech
8fff0950a0 add comments to PikaStdDevice 2022-08-14 23:55:24 +08:00
lyon
addc7160e1 update pikacv pyi 2022-08-14 10:55:18 +08:00
pikastech
7d01af7b90 support auto connect lines begin with fun(...
fix valgrind
2022-08-12 23:59:32 +08:00
pikastech
5b2febdbe0 rm noused _unittest.pyi 2022-08-11 19:27:31 +08:00
pikastech
cd6dfbbb71 unittest can run 2022-08-11 19:21:53 +08:00
pikastech
f180a15343 support %s and %r for any type arg 2022-08-11 18:32:53 +08:00
pikastech
bb54c2e719 support setattr and getattr
run tests() in cases is ok
2022-08-11 17:39:38 +08:00
pikastech
ac97532a7a support exec() builtin 2022-08-10 12:07:32 +08:00
pikastech
e0eee73209 support dir() builtin, fix str disp in list... 2022-08-10 11:49:54 +08:00
pikastech
751f61a656 use 'is' and 'in' and 'assert' in unittest
update unittest
2022-08-09 18:37:24 +08:00
pikastech
e61e4716ac add examples for unittest 2022-08-06 23:26:04 +08:00
pikastech
e8a2d43521 add unittest.c 2022-08-06 21:19:23 +08:00
pikastech
69b3fddc24 add unittest module
add _unittest.pyi

support _xxxx.pyi
2022-08-06 21:02:29 +08:00
pikastech
57d89e256f support try_expect for open 2022-08-06 17:59:32 +08:00
pikastech
525f08e088 fix for in dict 2022-08-02 13:52:20 +08:00
pikastech
5a4deb5fc9 fix List to list 2022-08-01 00:19:53 +08:00
pikastech
4899884747 use u32 for mem info
add speed by using register in for-loop

fix ci_benchmark
2022-07-31 11:14:49 +08:00
pikastech
a40f68e9b2 use more inline in PikaVM
use static refcnt in PikaObj

use static _clsptr
2022-07-30 21:26:46 +08:00
pikastech
117096a764 correct the sort of fun dec in .h
fix .h and .pyi

update PikaMath

update pika_cjson
2022-07-30 18:56:20 +08:00
pikastech
1d7bcf2a39 use __getitem__ __setitem__ instead of __get__ __set__ 2022-07-29 23:40:16 +08:00
pikastech
1f5d170aec rm old file 2022-07-29 09:06:50 +08:00
pikastech
d67d8a0d92 move sleep() to top of PikaStdDevice.Time() 2022-07-29 09:04:31 +08:00
pikastech
878f425a5f fix sleep() in windows 2022-07-28 18:52:56 +08:00
pikastech
decc25228b support sleep in linux/windows 2022-07-28 18:23:25 +08:00
pikastech
73123cdd9f support <int32_t size> for stack 2022-07-26 10:24:31 +08:00
purewind7
5cc9b48966 add annotation in check function 2022-07-23 23:22:26 +08:00