[Python-Dev] Shortcut bugfix
Guido van Rossum
Tue, 18 Mar 2003 08:56:12 -0500
> > > 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.
I misspoke. I agree with MAL that string.atoi() shouldn't be
changed. But I didn't mean to imply that I wanted the changes to
_tkinter and Tkinter to be rolled back.
--Guido van Rossum (home page: http://www.python.org/~guido/)