This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ejoy
Recipients
Date 2004-01-03.07:26:24
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I noticed that in Tkinter.py curselection() always
return strings instead of ints, (users have to use
map(int, list) to get the int values) but why? Here's
the code I found in Python 2.2/2.3. It seems someone
has noticed the problem before.

    def curselection(self):
        """Return list of indices of currently selected
item."""
        # XXX Ought to apply self._getints()...
        return self.tk.splitlist(self.tk.call(
            self._w, 'curselection'))
 
 
History
Date User Action Args
2008-01-20 09:56:39adminlinkissue869780 messages
2008-01-20 09:56:39admincreate