This commit is contained in:
blueloveTH 2023-02-02 20:28:53 +08:00
parent 4b22c10a5c
commit 943b0bf7db
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
## 0.8.0+1 ## 0.8.0+1
+ Reconstruction + add complete reflection (exec/eval/getattr/setattr/hasattr)
+ fix a bug of raw string
+ add slice support for `tuple`
+ improve performance
+ remove thread support
## 0.6.2+1 ## 0.6.2+1

View File

@ -3,7 +3,7 @@
PocketPy is a lightweight Python interpreter for game engines. PocketPy is a lightweight Python interpreter for game engines.
![](https://pocketpy.dev/static/logo_flat.png) ![](https://pocketpy.dev/static/logo_flat.png)
# Basic Features # basic
The following table shows the basic features of PocketPy with respect to [CPython](https://github.com/python/cpython). The following table shows the basic features of PocketPy with respect to [CPython](https://github.com/python/cpython).
The features marked with `YES` are supported, and the features marked with `NO` are not supported. The features marked with `YES` are supported, and the features marked with `NO` are not supported.
@ -25,7 +25,7 @@ The features marked with `YES` are supported, and the features marked with `NO`
| Star Unpacking | `a, *b = [1, 2, 3]` | NO | | Star Unpacking | `a, *b = [1, 2, 3]` | NO |
| Throw Exception | `assert/raise` | YES | | Throw Exception | `assert/raise` | YES |
| Catch Exception | `try..catch` | NO | | Catch Exception | `try..catch` | NO |
| Eval | `eval()` | YES | | Eval/Exec | `eval()/exec()` | YES |
| Import | `import/from..import` | YES | | Import | `import/from..import` | YES |
| Context Block | `with <expr> as <id>:` | YES | | Context Block | `with <expr> as <id>:` | YES |