@@ -1,4 +1,4 @@
-## 0.5.0+6
+## 0.5.0+7
+ Fix a bug of crash when using multi-thread
@@ -1,6 +1,6 @@
name: pocketpy
description: A lightweight Python interpreter for game engines.
-version: 0.5.0+6
+version: 0.5.0+7
homepage: https://pocketpy.dev
repository: https://github.com/blueloveth/pocketpy
@@ -1 +1 @@
-Subproject commit 489e88e885effa484134f98db933ca45659c2026
+Subproject commit 28b2550f587a924f352937579873bfb4909596ca
@@ -21,5 +21,5 @@ def test_dir(path):
if __name__ == '__main__':
ok = test_dir('./tests')
- if not ok:
- exit(1)
+ if ok:
+ print("ALL TESTS PASSED")
@@ -42,6 +42,12 @@ s = "123abcrunoob321"
# assert str.strip( '*' ) == "this is **string** example....wow!!!"
# assert s.strip( '12' ) == "3abcrunoob3"
+assert str.strip( '*' ) == "this is **string** example....wow!!!"
+assert s.strip( '12' ) == "3abcrunoob3"
+
+s = ' asd\n asd \n'
+assert s.strip() == 'asd\n asd'
s1 = "-"
s2 = ""
seq = ["r","u","n","o","o","b"]