46 Commits

Author SHA1 Message Date
BLUELOVETH
b1df516bf1 add callable 2023-09-15 17:37:07 +08:00
blueloveTH
aaa6d60404 add __module__ for types and fix pickle bugs 2023-09-10 03:22:01 +08:00
blueloveTH
c5858b95db ... 2023-09-06 23:44:18 +08:00
blueloveTH
368f228173 add typing module 2023-09-04 21:29:13 +08:00
blueloveTH
88c80a2340 ... 2023-08-29 23:57:33 +08:00
BLUELOVETH
5888151182 ... 2023-08-28 12:04:53 +08:00
BLUELOVETH
0ed2d8f3b1 ... 2023-08-28 11:42:40 +08:00
blueloveTH
0c80a626ba refactor importer 2023-08-28 04:05:24 +08:00
blueloveTH
e21005e5d2 add Str::split 2023-08-28 00:34:13 +08:00
blueloveTH
53ea790caf reimpl py_hash 2023-08-22 23:34:39 +08:00
BLUELOVETH
ef157946aa add __signature__ for property 2023-08-14 18:32:26 +08:00
blueloveTH
0bd7b45160 fix an internal bug of dict 2023-08-13 01:39:37 +08:00
blueloveTH
b42a2d5b26 ... 2023-08-13 00:42:36 +08:00
blueloveTH
c6b1c1015b fix a compile bug when PK_ENABLE_OS is 0 2023-08-12 02:40:48 +08:00
BLUELOVETH
c87127dbbd ... 2023-08-07 21:08:11 +08:00
BLUELOVETH
c8b71d9223 fix https://github.com/blueloveTH/pocketpy/issues/126 2023-08-07 17:21:13 +08:00
blueloveTH
38f5eb5bcf fix: dict and mappingproxy cannot be hashed 2023-08-05 16:21:21 +08:00
blueloveTH
f16f98fcf8 ... 2023-08-05 15:44:23 +08:00
blueloveTH
ed669b4069 gcnew constructs PyObject inplace, no std::move any more! 2023-08-04 22:55:46 +08:00
BLUELOVETH
7e1a5e9a6b add box2d as builtin modules (WIP) 2023-08-03 12:49:32 +08:00
BLUELOVETH
d9c98bb7d8 Revert "native modules are lazy by default"
This reverts commit 1e7fe289989314c876232782e5f9cc7f8037c8d8.
2023-08-03 11:51:12 +08:00
BLUELOVETH
1e7fe28998 native modules are lazy by default 2023-08-03 11:42:35 +08:00
blueloveTH
7741d592da reimpl round in cpp 2023-08-02 23:29:13 +08:00
blueloveTH
014902b4bb open default mode is 'r' 2023-08-02 23:16:21 +08:00
BLUELOVETH
26fe69da28 ... 2023-08-02 14:38:00 +08:00
BLUELOVETH
f0ca29a30a some important changes
1. add `colorsys`
2. handle `__all__` in modules
3. `is_pod` for c++17/20
2023-08-02 13:04:39 +08:00
blueloveTH
604ca77e48 fix https://github.com/blueloveTH/pocketpy/issues/121 2023-07-29 22:18:39 +08:00
blueloveTH
b0361b801a Revert "..."
This reverts commit d9b83fbeb70ed75079a538b77887269ed0cb58ef.
2023-07-22 22:44:27 +08:00
blueloveTH
d9b83fbeb7 ...
...
2023-07-22 22:44:23 +08:00
BLUELOVETH
04c9cb8544 ... 2023-07-19 18:21:30 +08:00
BLUELOVETH
864345ccc3 ... 2023-07-19 15:50:23 +08:00
blueloveTH
9a7fabeb75 ... 2023-07-18 23:02:22 +08:00
BLUELOVETH
c0e06c3144 ... 2023-07-18 18:10:11 +08:00
blueloveTH
93024830cd ... 2023-07-15 21:45:35 +08:00
blueloveTH
578d6a25cd ... 2023-07-15 21:20:39 +08:00
blueloveTH
c55bb4b8af ... 2023-07-15 16:00:57 +08:00
blueloveTH
73ae29809b ... 2023-07-15 15:13:58 +08:00
blueloveTH
cb6d302b2f ... 2023-07-14 21:44:44 +08:00
BLUELOVETH
48e21faecd ... 2023-07-14 17:19:38 +08:00
blueloveTH
85a9588459 ... 2023-07-09 16:10:15 +08:00
blueloveTH
48da917caf ... 2023-07-09 02:54:45 +08:00
blueloveTH
0e736b2f71 ... 2023-07-09 01:11:43 +08:00
blueloveTH
a06a8918ce ... 2023-07-09 00:55:30 +08:00
BLUELOVETH
d5fc2c8686 add ~ operator 2023-07-07 18:43:50 +08:00
BLUELOVETH
d4696d6931 bug workaround on MacOS
Number::stoi may raise std::out_of_range but it cannot be caught via catch(std::exception&). We use catch(...) for now. Note that catch(...) may catch pkpy::Exception or any others.
2023-07-03 15:02:58 +08:00
blueloveTH
f3ac21ccc2 ... 2023-07-02 01:39:24 +08:00