1.1 --- a/lib/__builtins__/str.py Wed Oct 26 16:36:17 2016 +0200
1.2 +++ b/lib/__builtins__/str.py Thu Oct 27 17:55:28 2016 +0200
1.3 @@ -71,11 +71,13 @@
1.4 "Return a new boolean for the comparison."
1.5 return _negate(self.__eq__(other))
1.6
1.7 - def __len__(self): pass
1.8 + def __len__(self):
1.9 + return native._str_len(self)
1.10 +
1.11 def __str__(self): pass
1.12
1.13 def __bool__(self):
1.14 - return _negate(native._str_eq(self, ""))
1.15 + return native._str_nonempty(self)
1.16
1.17 def endswith(self, s): pass
1.18 def find(self, sub, start=None, end=None): pass