mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
up
This commit is contained in:
parent
a67b59f4cb
commit
1a2153e5b4
@ -25,6 +25,6 @@ The initial version. Hello, world!
|
|||||||
+ Add `math.isnan` and `math.isinf`
|
+ Add `math.isnan` and `math.isinf`
|
||||||
+ Fix a bug of `__checkType`
|
+ Fix a bug of `__checkType`
|
||||||
|
|
||||||
## 0.5.0+1
|
## 0.5.0+2
|
||||||
|
|
||||||
+ Fix a bug on Windows
|
+ Fix a bug on Windows
|
@ -1,6 +1,6 @@
|
|||||||
name: pocketpy
|
name: pocketpy
|
||||||
description: A lightweight Python interpreter for game engines.
|
description: A lightweight Python interpreter for game engines.
|
||||||
version: 0.5.0+1
|
version: 0.5.0+2
|
||||||
homepage: https://pocketpy.dev
|
homepage: https://pocketpy.dev
|
||||||
repository: https://github.com/blueloveth/pocketpy
|
repository: https://github.com/blueloveth/pocketpy
|
||||||
|
|
||||||
|
@ -399,7 +399,8 @@ public:
|
|||||||
_Str __lstrip() const {
|
_Str __lstrip() const {
|
||||||
std::string copy(*_s);
|
std::string copy(*_s);
|
||||||
copy.erase(copy.begin(), std::find_if(copy.begin(), copy.end(), [](char c) {
|
copy.erase(copy.begin(), std::find_if(copy.begin(), copy.end(), [](char c) {
|
||||||
return !std::isspace(c);
|
// std::isspace(c) does not working on windows (Debug)
|
||||||
|
return c != ' ' && c != '\t' && c != '\r' && c != '\n';
|
||||||
}));
|
}));
|
||||||
return _Str(copy);
|
return _Str(copy);
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit d8e7e9986433707a21b796d510cccb6f098cf91c
|
Subproject commit 764a0a18407dad82e0ad7a878bab42097bfa1647
|
@ -399,7 +399,8 @@ public:
|
|||||||
_Str __lstrip() const {
|
_Str __lstrip() const {
|
||||||
std::string copy(*_s);
|
std::string copy(*_s);
|
||||||
copy.erase(copy.begin(), std::find_if(copy.begin(), copy.end(), [](char c) {
|
copy.erase(copy.begin(), std::find_if(copy.begin(), copy.end(), [](char c) {
|
||||||
return !std::isspace(c);
|
// std::isspace(c) does not working on windows (Debug)
|
||||||
|
return c != ' ' && c != '\t' && c != '\r' && c != '\n';
|
||||||
}));
|
}));
|
||||||
return _Str(copy);
|
return _Str(copy);
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,8 @@ public:
|
|||||||
_Str __lstrip() const {
|
_Str __lstrip() const {
|
||||||
std::string copy(*_s);
|
std::string copy(*_s);
|
||||||
copy.erase(copy.begin(), std::find_if(copy.begin(), copy.end(), [](char c) {
|
copy.erase(copy.begin(), std::find_if(copy.begin(), copy.end(), [](char c) {
|
||||||
return !std::isspace(c);
|
// std::isspace(c) does not working on windows (Debug)
|
||||||
|
return c != ' ' && c != '\t' && c != '\r' && c != '\n';
|
||||||
}));
|
}));
|
||||||
return _Str(copy);
|
return _Str(copy);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user