1805 Commits

Author SHA1 Message Date
Lyon
b4f7b4275c move test to pikaCompiler 2023-07-06 23:09:49 +08:00
Lyon
cb3ad20d0f format 2023-07-06 20:55:56 +08:00
Lyon
80ce248b5a Merge branch 'packer' 2023-07-03 01:53:48 +08:00
Lyon
fe466187e5 support .pya Version 5 2023-07-03 00:30:28 +08:00
shanjiayang
52158863fa Fix memory leak issue in the pack module,and add test:packreadErr 2023-07-02 23:02:50 +08:00
Lyon
5da6b727e9 fix parse err when comment inner list/dict 2023-06-30 01:17:34 +08:00
Lyon
f477a94f62 support PIKA_UNBUFFERED_ENABLE 2023-06-30 00:04:08 +08:00
Lyon
1a1ac2093f fix compile err on msvc 2023-06-29 20:17:11 +08:00
Lyon
129b2b95c8 support tuple(), '^', and more self-opt 2023-06-29 01:03:26 +08:00
Lyon
21155bfbb3 fix and move to '/pikafs/xxx' from 'pikafs/xxx' 2023-06-28 22:15:39 +08:00
shanjiayang
4f9a4dad06 lost? 2023-06-27 20:08:17 +08:00
Lyon
51bbe08d76 support __len__ for bytearray 2023-06-27 15:44:05 +08:00
Lyon
8be2de2ba9 fix work scope for eval() and exec() 2023-06-24 19:15:07 +08:00
lyon
e32ba87dff fix json parse issue on jsmn and fix compiler 2023-06-21 21:54:30 +08:00
lyon
0fcf64470b mocre python test 2023-06-18 13:05:45 +08:00
lyon
0db9ff7c8c fix thread create bug for freeRTOS 2023-06-18 02:57:49 +08:00
lyon
efb0aa4e8e json.dumps speed enhanced 100+ times 2023-06-18 00:03:16 +08:00
lyon
21c6ed27aa support argNewStrN() api 2023-06-17 15:45:35 +08:00
blueloveTH
e90be6455c Fix a bug of _OP_POW 2023-06-11 16:27:29 +08:00
lyon
ae561ab04a rename _def.h to _template.h 2023-06-10 16:59:43 +08:00
lyon
ea986f3ef8 update pikaCompiler api to new api 2023-06-10 16:54:36 +08:00
lyon
5e30d7482b add more event_thread test and cq full test 2023-06-10 16:24:58 +08:00
lyon
4a80729460 add press test for event_thread, cq full broken 2023-06-10 12:39:19 +08:00
lyon
aeb7c0e8d0 use new pika_event api 2023-06-10 01:47:11 +08:00
lyon
38ebd04cac sync fixs for kernal and std libs 2023-06-08 23:52:17 +08:00
lyon
93a46c3f58 fix always run the same task inner eventloop 2023-06-08 22:41:04 +08:00
lyon
41cb54ecb0 support bytearray() builtin 2023-05-29 12:09:23 +08:00
lyon
892ae61a20 support bytearray builtin 2023-05-29 10:18:52 +08:00
Lyon
92656dafaf Merge remote-tracking branch 'gitee/master' 2023-05-28 04:35:20 +00:00
Randy Scott
e747f7ac1d Fix memory leak in event queue
If the event queue becomes full and an event needs to be discarded, the VM could leak memory because the arg type was still set to ARG_TYPE_OBJECT_NEW instead of ARG_TYPE_OBJECT.

This change moves the arg_deinit() until after the arg type is changed.
2023-05-27 11:00:27 +08:00
lyon
7a4ae36a89 fix gcda err 2023-05-24 13:16:26 +08:00
lyon
177a3a3650 fix REPL FUNC_KEY reset 2023-05-24 01:03:13 +08:00
lyon
3a9e5d68c8 fix __getitem__ without __len__ 2023-05-24 00:51:13 +08:00
pikastech
4fa7e9ab3e ready to release v1.12.3 2023-05-23 18:26:03 +08:00
pikastech
277f135e87 add some assert 2023-05-22 16:37:13 +08:00
pikastech
7b75272e63 support isinstance() for native class 2023-05-22 16:29:57 +08:00
pikastech
e536665ff6 add builtin exception for builtins.pyi 2023-05-22 15:19:59 +08:00
pikastech
ad3b22f0f3 fix builtins namespace conflic with module 2023-05-22 09:53:50 +08:00
lyon
87d66c758b fix gtest err on nano 2023-05-22 03:07:09 +08:00
lyon
0fb65efa43 fix msc, add builtins to msc default 2023-05-21 23:09:36 +08:00
lyon
8f74b8ea53 add builtins.pyi for PikaStdLib 2023-05-21 22:36:47 +08:00
lyon
b49cb51de3 support isinstance() builtin 2023-05-21 21:05:17 +08:00
lyon
c823ad0879 support isinstance() for simple type 2023-05-21 01:19:13 +08:00
lyon
977d844d2c support find_ins_unit() 2023-05-20 17:44:01 +08:00
lyon
e81fbcc0f7 support find ins unit by bytecode frame 2023-05-20 17:40:51 +08:00
lyon
0ff4ecd028 VM support l[0]() nad test()() stmt 2023-05-20 00:26:27 +08:00
lyon
fa97fbb788 support parse for 'test()()' and 'test[]()' 2023-05-18 23:15:33 +08:00
pikastech
68ace04b0c fix kernal dump when import (null) 2023-05-15 09:39:09 +08:00
lyon
384e05068c support val hint 2023-05-15 00:05:56 +08:00
lyon
f276fdadfb support class script 2023-05-14 23:54:57 +08:00