[Python-Dev] Shortcut bugfix
Guido van Rossum
guido@python.org
Tue, 18 Mar 2003 08:56:12 -0500
Tue, 18 Mar 2003 08:56:12 -0500
- Previous message: [Python-Dev] Shortcut bugfix
- Next message: [Python-Dev] Shortcut bugfix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[RH] > > > Does anyone think changin string.atoi is the wrong way to go? [MAL] > > 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. [GvR] > 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/)
- Previous message: [Python-Dev] Shortcut bugfix
- Next message: [Python-Dev] Shortcut bugfix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]