1566 Commits

Author SHA1 Message Date
blueloveTH
206685a3f6 inline ~PyObject 2024-03-03 01:32:34 +08:00
blueloveTH
3edd4aca67 some refactor 2024-03-03 01:30:09 +08:00
blueloveTH
0fd2c695bf some fix 2024-03-02 16:44:14 +08:00
blueloveTH
e82cad5b25 some fix 2024-03-02 04:22:53 +08:00
blueloveTH
5e01164dac move some methods to header file 2024-03-02 04:06:29 +08:00
blueloveTH
d5c93c666e remove PyVec* 2024-03-01 18:18:41 +08:00
Anurag Bhat
5100f4e454
Floating inputs for round() should return a Floating output when ndigit is 0 (#217)
* Fix round for floating inputs

* Refactor integer inputs

* some fix

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2024-02-27 11:18:21 +08:00
blueloveTH
214395fab6 fix https://github.com/pocketpy/pocketpy/issues/214 2024-02-26 10:40:37 +08:00
blueloveTH
90a9a404e2 some refactor 2024-02-25 13:06:41 +08:00
blueloveTH
51a3c93f69 some refactor 2024-02-25 12:39:09 +08:00
blueloveTH
4af7d5c873 fix https://github.com/pocketpy/pocketpy/issues/212 2024-02-23 15:48:24 +08:00
blueloveTH
0599130c0d fix https://github.com/pocketpy/pocketpy/issues/211 2024-02-23 01:27:48 +08:00
Anurag Bhat
842c415a9f
Fix Typos in the Codebase (#210)
* Fix Typos

* Revert some changes

* Revert ldtk file
2024-02-21 15:40:48 +08:00
blueloveTH
38dceac61b add PK_SLICE_LOOP 2024-02-20 02:13:33 +08:00
blueloveTH
3534492bb6 improve array2d.__setitem__ 2024-02-20 01:56:10 +08:00
blueloveTH
cbe8945d37 some update 2024-02-19 11:42:18 +08:00
blueloveTH
4509076b78 remove redundant code 2024-02-19 00:08:36 +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
19a2b8950b replace std::vector<Expr_> with small_vector 2024-02-18 21:31:27 +08:00
blueloveTH
5983dd2ae6 add unique_ptr_64 2024-02-18 20:49:26 +08:00
blueloveTH
4ac915e25c some fix 2024-02-18 18:59:58 +08:00
blueloveTH
bbe3773154 fix a bug 2024-02-18 18:08:11 +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
7d38f83008 fix a bug 2024-02-18 00:57:56 +08:00
blueloveTH
1558e5b40f fix a bug 2024-02-18 00:44:57 +08:00
blueloveTH
c7abc23ef4 fix a bug 2024-02-17 23:12:07 +08:00
blueloveTH
15f29fb085 fix a bug 2024-02-17 23:06:29 +08:00
blueloveTH
c3b050c77a fix a bug of line_profiler 2024-02-17 22:32:30 +08:00
blueloveTH
0df619b66f str.index and str.find supports __start 2024-02-17 20:45:08 +08:00
blueloveTH
96d9e12cd6 list.index supports __start 2024-02-17 20:36:20 +08:00
blueloveTH
ffee4a0354 some fix 2024-02-17 19:55:04 +08:00
blueloveTH
504d9cf79b add some algorithm into array2d 2024-02-16 19:52:52 +08:00
blueloveTH
7095db428c add random.choices 2024-02-15 00:13:34 +08:00
blueloveTH
b9d29dd4da add copy_*_ 2024-02-13 13:42:44 +08:00
blueloveTH
a0a5753283 allows vec * vec 2024-02-13 13:13:22 +08:00
blueloveTH
d166766ebf mark stdout_write and stderr_write as virtual 2024-02-10 16:17:21 +08:00
blueloveTH
6051652405 some fix 2024-02-07 19:32:09 +08:00
blueloveTH
6681efe770 Update compiler.cpp 2024-02-07 17:45:19 +08:00
blueloveTH
c06bf5729c Update profiler.cpp 2024-02-07 17:39:13 +08:00
blueloveTH
e62f3a2e10 Merge branch 'new' 2024-02-07 17:32:40 +08:00
blueloveTH
4f316d1938 fix a bug 2024-02-07 17:32:34 +08:00
blueloveTH
4202cd8b9f some update 2024-02-07 17:28:47 +08:00
blueloveTH
ac32dfdb2d record start_line & end_line 2024-02-07 17:07:55 +08:00
blueloveTH
933e19bd27 some optimize 2024-02-07 16:42:18 +08:00
blueloveTH
15fb9f9337 fix a bug 2024-02-07 16:35:07 +08:00
blueloveTH
e88f57ae30 optimize profiler.cpp 2024-02-07 16:24:35 +08:00
blueloveTH
0bbf6af3ff update array2d.copy_ 2024-02-07 14:57:09 +08:00