203 Commits

Author SHA1 Message Date
blueloveTH
aba90c1eb1 some optimize 2024-04-29 21:45:10 +08:00
blueloveTH
1227667735 some fix 2024-04-29 13:06:39 +08:00
blueloveTH
c7495853ec compatible fix 2024-04-29 13:04:53 +08:00
blueloveTH
f752acdfc8 break change of m__next__ 2024-04-29 11:57:21 +08:00
blueloveTH
a6c4b33e8b some fix 2024-04-28 20:22:08 +08:00
blueloveTH
aa8360cc22 some fix 2024-04-27 23:36:33 +08:00
blueloveTH
6cc4d9c5cc add PK_ENABLE_PROFILER 2024-04-27 20:01:58 +08:00
blueloveTH
4665fb3405 add OP_LOAD_SUBSCR_SMALL_INT 2024-04-27 19:42:39 +08:00
blueloveTH
b703abbbb2 some refactor 2024-04-27 17:01:59 +08:00
blueloveTH
508cbfdb75 some refactor 2024-04-24 17:54:55 +08:00
blueloveTH
a08efc0a6a move op_names 2024-04-20 12:25:51 +08:00
blueloveTH
88628f3942 Update vm.cpp 2024-04-16 23:37:36 +08:00
blueloveTH
c4b3d2bb5f refactor 2024-04-16 23:31:12 +08:00
blueloveTH
4083d16a38 change bind_property 2024-04-16 23:11:39 +08:00
blueloveTH
0ec01abdeb refactor __doc__ and rm __signature__ 2024-04-16 23:06:43 +08:00
blueloveTH
49045f2c48 add l and ll 2024-04-15 19:38:11 +08:00
blueloveTH
6ec6c5290b some fix 2024-04-14 21:26:03 +08:00
blueloveTH
d87c9ff850 add breakpoint 2024-04-14 20:33:04 +08:00
blueloveTH
b6d62c9d89 add breakpoint 2024-04-14 20:14:51 +08:00
blueloveTH
aaa0d55361 add breakpoint 2024-04-14 18:31:14 +08:00
blueloveTH
5d4294b457 add pkpy_set_main_argv 2024-04-14 13:29:20 +08:00
blueloveTH
96eaeb49f5 some fix 2024-04-14 01:20:56 +08:00
BLUELOVETH
4d2af4b83d
allow next to be compatible with cpython (#241)
* add `itertools`

* Update _generated.h

* allow `next` to be compatible with cpython
2024-04-14 00:08:41 +08:00
blueloveTH
f53a46941a deprecate *non_tagged* 2024-04-11 11:50:15 +08:00
blueloveTH
b3c898672e Update vm.cpp 2024-04-11 11:31:46 +08:00
blueloveTH
1f4b72e010 fix function types 2024-04-11 11:21:35 +08:00
blueloveTH
49ee693d40 optimize for empty function 2024-04-11 01:31:45 +08:00
blueloveTH
e86baa2e2f add optimized opcodes for FOR_ITERs 2024-03-29 01:29:32 +08:00
blueloveTH
c77fef35a2 refactor defaultdict 2024-03-28 19:21:56 +08:00
albertexye
142e4fd45f
Sort names returned by the built-in dir method (#231)
* Sort names returned by the built-in dir method

* some fix

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2024-03-27 16:07:35 +08:00
blueloveTH
636944632d fix a bug 2024-03-24 23:20:23 +08:00
blueloveTH
0d0261c069 some fix 2024-03-17 19:02:04 +08:00
blueloveTH
150af1b714 some fix 2024-03-17 18:59:58 +08:00
blueloveTH
f9cc2f2f29 some optimize 2024-03-17 18:50:44 +08:00
blueloveTH
fd082c20e6 add some cases 2024-03-17 18:36:08 +08:00
BLUELOVETH
65440c2034
Fix #197 (#227)
* init

* some optimize

* Update frame.h

* remove `LOAD_INTEGER`

* Update vm.cpp

* some optimize

* some fix

* Revert "remove `LOAD_INTEGER`"

This reverts commit c0b965aee2f64fbfae0b20f41d714688649d20cf.

* some fix

* Update expr.cpp

* some fix

* Update retype.yml
2024-03-16 18:37:09 +08:00
blueloveTH
63e869df0c Revert "some optimize"
This reverts commit 31dc34663a0a2ffe45552eec7ceaca58759d228d.
2024-03-16 15:54:56 +08:00
blueloveTH
31dc34663a some optimize 2024-03-16 15:42:04 +08:00
blueloveTH
1456fb5e20 remove _s in Frame 2024-03-16 15:32:17 +08:00
blueloveTH
638ce2699a Revert "some fix about emplace"
This reverts commit 3d5b50a527b5992b53708676aee4738effba7707.
2024-03-16 15:20:41 +08:00
blueloveTH
3d5b50a527 some fix about emplace 2024-03-16 15:16:11 +08:00
blueloveTH
0fd2c695bf some fix 2024-03-02 16:44:14 +08:00
blueloveTH
cbe8945d37 some update 2024-02-19 11:42:18 +08:00
blueloveTH
95720b965f rollback 2024-02-19 00:00:34 +08:00
blueloveTH
415c1f6b38 some more replace 2024-02-18 22:43:09 +08:00
blueloveTH
97c923e514 use pod_vector for small vectors 2024-02-18 17:51:35 +08:00
blueloveTH
635aae921f fix compile warnings 2024-02-18 16:05:14 +08:00
blueloveTH
6ed8a262a8 some fix 2024-02-18 10:58:48 +08:00
blueloveTH
1558e5b40f fix a bug 2024-02-18 00:44:57 +08:00
blueloveTH
ffee4a0354 some fix 2024-02-17 19:55:04 +08:00