18 Mar
2003
18 Mar
'03
6:15 a.m.
Does anyone think changin string.atoi is the wrong way to go?
Yes, because it changes the semantics. string.atoi() would suddenly start to accept non-strings like integers, floats, etc.
My suggestion would be to carefully reconsider the changes to _tkinter. If it's true that a method can now return strings *and* integers which previously only returned strings, then such a change is clearly not backward compatible. I'd create a new method for the new semantics in that case.
That's my gut feeling too. --Guido van Rossum (home page: http://www.python.org/~guido/)