gpython
gpython copied to clipboard
`str` is missing `join`, `upper` and `lower` attributes
Builtin string type doesn't support join, upper and lower functions/attributes.
# fails with missing attribute
",".join(list)
"hello world".upper()
"HELLo".lower()
- [ ]
str.join - [x]
str.upper - [x]
str.lower
based on the changes from https://github.com/go-python/gpython/pull/188 it should be relatively easy to implement upper and lower (assuming the strings.ToUpper and strings.ToLower stdlib functions achieve what str.upper and str.lower are expected to do).
do you want to give it a try ?