[Python-Dev] Shortcut bugfix
Guido van Rossum
guido@python.org
Tue, 18 Mar 2003 07:15:09 -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.
--Guido van Rossum (home page: http://www.python.org/~guido/)