blueloveTH
1c1e898950
...
2024-08-06 14:10:46 +08:00
blueloveTH
f9a1bd1d49
...
2024-08-06 12:58:11 +08:00
blueloveTH
0b649f3bef
...
2024-08-04 22:45:00 +08:00
blueloveTH
8e1e29ddd6
add py_import
2024-08-04 14:57:59 +08:00
blueloveTH
97d6f384f4
remove unused bc
2024-06-07 01:08:05 +08:00
blueloveTH
bb9c5c30df
some fix
2024-06-02 23:48:29 +08:00
blueloveTH
2f96712371
refactor deque
2024-06-01 21:47:27 +08:00
blueloveTH
cefa85afa4
some more update
2024-05-10 21:03:39 +08:00
blueloveTH
8745f323b8
re-add operator
module
2024-05-10 20:29:23 +08:00
blueloveTH
518fa3ac07
rename Struct
2024-05-03 19:33:26 +08:00
blueloveTH
022e9c53fb
move min/max
to cpp
2024-05-03 17:38:32 +08:00
blueloveTH
6189aaca94
use cpython style next()
2024-04-24 22:06:02 +08:00
blueloveTH
8ca0e0168c
add reduce
and partial
2024-04-14 16:18:04 +08:00
BLUELOVETH
6bf645d738
add itertools
( #239 )
2024-04-13 23:44:07 +08:00
BLUELOVETH
ab96dbb028
Update typing.py
2024-04-13 23:34:29 +08:00
blueloveTH
10ca25f6b0
add enum
module
2024-04-06 17:00:50 +08:00
ykiko
cb15db1f0e
adoping a more efficient division algorithm for bigint. ( #232 )
...
* adoping a more efficient division algorithm for bigint.
* add test case.
* modify the implementation to binary search.
* fix type error.
* fix some error.
* remove extra zero.
* add some test cases.
* add some cases
* Update 09_long.py
* Update 09_long.py
---------
Co-authored-by: BLUELOVETH <blueloveTH@foxmail.com>
2024-03-29 03:00:39 +08:00
blueloveTH
c77fef35a2
refactor defaultdict
2024-03-28 19:21:56 +08:00
blueloveTH
665fb04b8f
some change
2024-03-26 16:14:47 +08:00
blueloveTH
60aa4fe93d
some change
2024-03-26 16:06:18 +08:00
blueloveTH
a51025f516
some fix
2024-03-04 00:24:43 +08:00
Anurag Bhat
883f4d9532
Add Division operation for complex number in Cmath ( #220 )
...
* Add __truediv__() for cmath
* Some changes
* Remove separate zero division case checks
* Test all binary operators
* Use is_close
2024-03-02 14:34:05 +08:00
blueloveTH
0599130c0d
fix https://github.com/pocketpy/pocketpy/issues/211
2024-02-23 01:27:48 +08:00
blueloveTH
8f11ce0466
move strip
methods into cpp
2024-02-05 14:48:00 +08:00
blueloveTH
f55c3d7206
remove dataclasses.py
2024-02-05 11:59:41 +08:00
blueloveTH
ce1bc278e3
add .date()
2024-01-25 17:49:20 +08:00
blueloveTH
d9c3f6c146
random refactor
2024-01-25 00:48:46 +08:00
blueloveTH
d64863fd43
some refactor
2024-01-19 20:02:23 +08:00
blueloveTH
7a65de16c0
...
2024-01-15 14:43:52 +08:00
blueloveTH
d8d25894c7
...
2024-01-15 14:40:24 +08:00
blueloveTH
7a386fa218
fix https://github.com/blueloveTH/pocketpy/issues/174
2024-01-14 14:19:31 +08:00
blueloveTH
98fe274dc8
add typing.Protocol
2024-01-06 13:38:51 +08:00
blueloveTH
c6ec028730
support real exceptions
2024-01-02 16:42:08 +08:00
blueloveTH
c79cd6dca6
...
2024-01-02 00:36:23 +08:00
blueloveTH
9d9ec9a6d0
add __neg__
for complex
2024-01-02 00:24:22 +08:00
blueloveTH
889cf99695
...
2023-12-30 20:58:52 +08:00
blueloveTH
f650f159b4
...
2023-12-30 14:33:04 +08:00
blueloveTH
1e178caf6e
add cmath
module
2023-12-30 13:57:51 +08:00
blueloveTH
475bce9999
add @dataclass
2023-12-21 23:09:23 +08:00
blueloveTH
ec0290ab39
...
2023-12-04 18:11:45 +08:00
blueloveTH
f6942e0caf
experimental support for try..except..as
2023-12-04 18:09:21 +08:00
blueloveTH
54b1ce3a3a
Update builtins.py
2023-11-29 13:58:45 +08:00
blueloveTH
2f3017ebfd
...
2023-10-31 00:28:36 +08:00
blueloveTH
4b00846861
Update datetime.py
2023-10-30 23:58:43 +08:00
blueloveTH
905defb534
fix a bug of datetime and localtime
2023-10-30 23:55:06 +08:00
blueloveTH
49f70318d9
...
2023-10-29 22:44:14 +08:00
blueloveTH
61f837ac2c
doc fix
2023-10-29 22:22:22 +08:00
blueloveTH
f2d5fbbb94
add module operator
and add split
for single char
2023-10-29 22:16:49 +08:00
blueloveTH
04df1dbe5b
fix https://github.com/blueloveTH/pocketpy/issues/172
2023-10-28 15:10:58 +08:00
blueloveTH
a12eb4c8bc
...
2023-10-28 15:00:53 +08:00