352 Commits

Author SHA1 Message Date
pikastech
e85639a1e9 fix valgrind in check CLS
add pikann
2022-09-08 22:33:23 +08:00
pikastech
10c7f1a261 add __callback inline bytecode
impl strlwr for linux, merge codede.c to _String.c
2022-09-08 08:17:01 +08:00
pikastech
27ebfb049f support input None to object 2022-09-07 14:25:25 +08:00
任祉涵
36b3d2775a
PikaNN simple version (#211)
* PikaNN sample

* Delete __asset_lib_to_file_py_a.c

* Update CMakeLists.txt

Co-authored-by: Lyon <88232613+pikasTech@users.noreply.github.com>
2022-09-06 21:08:10 +08:00
pikastech
9cb3f586d5 fix PIKA_STRING_UTF8_EANBLE = 0 2022-09-06 08:19:05 +08:00
pikastech
91461e3f17 fix warnings 2022-09-05 22:37:31 +08:00
pikastech
d5ab75af41 fix some wars, fix mem leak, add unit test 2022-09-05 22:30:28 +08:00
pikastech
a563f7947c add arg_newObj api 2022-09-05 17:43:17 +08:00
pikastech
45c70ffe79 support __contains__ for dict 2022-09-05 15:39:15 +08:00
pikastech
b298e152e5 support __contain__
support __contains__ for list
2022-09-05 15:21:49 +08:00
pikastech
6257ab7f06 fix print sort 2022-09-04 21:19:41 +08:00
pikastech
eb92e69fd8 fix memroy leak and arg num check err 2022-09-04 18:37:47 +08:00
pikastech
6c6e42e128 update re from package to port/linux 2022-09-04 17:50:08 +08:00
pikastech
d4a0b37958 support **keys in cmodule
support print('test', end='')
2022-09-02 00:33:50 +08:00
李昂
7d191fc2ea !108 keys
* def foo(**keys) in py is ok
* __kwargs is ok
* gening dict
* fix arg->flag init faild
* supporting **keys
2022-08-30 16:40:04 +00:00
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
2a4115722e create socket.py
support socket on linux
2022-08-25 00:54:27 +08:00
pikastech
7e15e5e202 support __add__() for list 2022-08-16 17:40:11 +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
cd6dfbbb71 unittest can run 2022-08-11 19:21: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
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
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
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
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
purewind7
121ad21697 Add check size and format func in PikaCV 2022-07-23 23:22:26 +08:00