Kanika Kapoor
19b565f885
Merge c048ec9faf4bfe02da004dce69471897933c3617 into 2fa14c588463bf576bce766f6ae996e7e8e10271
2026-02-01 09:54:31 +08:00
blueloveTH
2fa14c5884
fix #455
2026-01-30 14:42:45 +08:00
blueloveTH
cf965a1957
fix #456
2026-01-30 14:40:05 +08:00
blueloveTH
a59f916f5b
Update ideas.md
2026-01-30 11:55:40 +08:00
blueloveTH
f9100dc504
Create ideas.md
2026-01-30 11:41:51 +08:00
blueloveTH
48b70c944e
fix #426
2026-01-26 17:50:03 +08:00
blueloveTH
2281b9bb44
fix #424
2026-01-26 17:24:29 +08:00
blueloveTH
979addecf9
improve extend and choice
2026-01-14 16:49:02 +08:00
blueloveTH
9ef38d605b
fix bool-int ops
2026-01-14 16:14:08 +08:00
BLUELOVETH
08cc247be9
Update differences.md
2026-01-10 23:57:49 +08:00
blueloveTH
98fabb45bf
update init example
2026-01-08 15:32:08 +08:00
blueloveTH
3fe55bbe76
add raylib bindings to doc
2026-01-08 15:30:48 +08:00
blueloveTH
d9a7798891
Update library.py
2026-01-08 15:26:03 +08:00
blueloveTH
0c965d8c5b
Update guide.md
2026-01-07 19:59:41 +08:00
blueloveTH
ef2481b8a5
add gsoc 2026 page
...
Update guide.md
2026-01-07 19:55:29 +08:00
blueloveTH
9e4636b619
improve math tests
2026-01-07 16:59:10 +08:00
blueloveTH
e82b2b98cf
Update math.c
2026-01-07 16:47:21 +08:00
blueloveTH
08f39b8444
minor fix
2026-01-07 16:16:30 +08:00
blueloveTH
2d1d61d9ca
minor fix
2026-01-07 16:12:23 +08:00
blueloveTH
c32a97084b
update dmath submodule
2026-01-07 16:03:22 +08:00
blueloveTH
f319fedf7e
Update deploy.md
2026-01-06 17:41:13 +08:00
blueloveTH
32d104039c
update docs
2026-01-06 16:46:44 +08:00
blueloveTH
f6f078807d
bump c to 2026
2026-01-06 16:42:18 +08:00
blueloveTH
8bc7bf3bd7
Update bindings-cpp.md
2026-01-06 16:36:16 +08:00
blueloveTH
3c051df06a
Create periphery.md
2026-01-06 16:32:25 +08:00
blueloveTH
5f8d9fefc3
update docs
2026-01-06 16:29:31 +08:00
blueloveTH
f10cc37c63
Create deploy.md
2026-01-06 16:17:01 +08:00
blueloveTH
a1bfebd30c
Update 300_import.py
2026-01-06 15:18:04 +08:00
blueloveTH
f3bf7c6321
Update compileall.py
2026-01-06 15:15:50 +08:00
blueloveTH
3e182d5c6b
add tests for .pyc
2026-01-06 15:11:39 +08:00
blueloveTH
d3d83bd126
minor fix
2026-01-06 14:56:27 +08:00
blueloveTH
b37d3cae86
revert main.c readfile
2026-01-06 14:45:51 +08:00
blueloveTH
82bd2838ce
fix abs name
2026-01-06 14:32:00 +08:00
blueloveTH
45f18f8431
add some more registers
2026-01-06 14:09:11 +08:00
blueloveTH
0bdbf17d46
add mark for serializer
2026-01-06 13:53:26 +08:00
blueloveTH
07a65a8f21
add py_execo
2026-01-06 13:24:06 +08:00
blueloveTH
b4ba0d91d5
minor fix
2026-01-06 13:08:14 +08:00
blueloveTH
b775d239a5
fix import pyc
2026-01-06 11:24:33 +08:00
blueloveTH
3c379402c8
Update compileall.py
2026-01-05 19:58:00 +08:00
blueloveTH
3bac59701b
Update compileall.py
2026-01-05 19:56:45 +08:00
blueloveTH
134144e6fa
Update compileall.py
2026-01-05 19:51:46 +08:00
BLUELOVETH
5f7bf4924b
Support running compiled bytecodes ( #421 )
2026-01-05 19:40:21 +08:00
Phil Chang
c278d02131
Use inline instead of __forceinline when compiling with clang-cl on Windows ( #420 )
...
* Add extern specifier for inline functions inside C source files
* Force clang-cl to use inline instead of __forceinline
2026-01-02 23:01:34 +08:00
blueloveTH
bbddcc7ef7
fix #419
2026-01-02 16:12:09 +08:00
Kanika Kapoor
c048ec9faf
Fix context manager __exit__ not being called on exception ( #395 )
...
Problem: When an exception occurs in a WITH block, __exit__ was not called,
preventing proper cleanup of context managers.
Solution:
1. Wrap WITH block body in try-except structure
2. On normal exit: call __exit__(None, None, None)
3. On exception: call __exit__ with exception info before re-raising
Changes:
- compiler.c: Wrap WITH body in try-except, ensure __exit__ called in both paths
- ceval.c: Update OP_WITH_EXIT to accept three arguments (exc_type, exc_val, exc_tb)
- tests/520_context.py: Add test to verify __exit__ called on exceptions
2025-12-27 01:12:15 +05:30
blueloveTH
1e2135e153
discard '_'
2025-12-25 18:12:04 +08:00
blueloveTH
d6052da6ab
Delete picoterm_io.pyi
2025-12-25 17:52:02 +08:00
blueloveTH
16a7fda6c3
upgrade to v2.1.6
v2.1.6
2025-12-25 17:47:31 +08:00
blueloveTH
8ff3f44179
fix https://github.com/pocketpy/pocketpy/issues/394
2025-12-25 17:42:24 +08:00
blueloveTH
ecdea105d6
fix https://github.com/pocketpy/pocketpy/issues/408
2025-12-25 17:40:07 +08:00