joe-greenawalt / skulpt

Automatically exported from code.google.com/p/skulpt
Other
0 stars 0 forks source link

Class methods limited #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Code you're trying to run:
print str.lower("Hello")

What does "real" Python output?
hello

What browser are you using? On what operating system?
Firefox on OS X.6.

Please provide any additional information.
Haven't tested this for other similar issues (but you may want to check), such 
as: 

x = [4,5,0]
list.sort(x)
print x # should return [0,4,5]

Original issue reported on code.google.com by carnioja...@gmail.com on 29 Nov 2010 at 4:23

GoogleCodeExporter commented 9 years ago
Turns out the problem is not that str.lower(___) and [str].lower() aren't the 
same; it's that the "lower", "upper", "strip", etc. methods just aren't 
implemented yet; sorry about that oversight ;-)

Original comment by carnioja...@gmail.com on 29 Nov 2010 at 4:33

GoogleCodeExporter commented 9 years ago
Thanks for the report, fixed.

Original comment by sgraham on 30 Nov 2010 at 5:47