[Python-Dev] Shortcut bugfix (original) (raw)
Guido van Rossum guido@python.org
Tue, 18 Mar 2003 07:15:09 -0500
- Previous message: [Python-Dev] Shortcut bugfix
- Next message: [Python-Dev] Shortcut bugfix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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/)
- Previous message: [Python-Dev] Shortcut bugfix
- Next message: [Python-Dev] Shortcut bugfix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]