Author terry.reedy
Recipients serhiy.storchaka, terry.reedy
Date 2016-01-22.23:28:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
With patch applied to 3.5, tk.Canvas().keys() works and test_tk and other three files pass with -ugui.

Is avoiding splitlist calls when not needed worthwhile?  Tests also pass with 

    def keys(self):
        """Return a list of all resource names of this widget."""
        config =, 'configure')
        if type(config) == tuple:
            return [x[0][1:] for x in config]
        else:  # str
            splitlist =
            return [splitlist(x)[0][1:] for x in

I am a bit curious why Canvas gives a different return.  Is the special casing in _tkinter or tk itself?  Otherwise, looks good to me.
Date User Action Args
2016-01-22 23:28:21terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2016-01-22 23:28:21terry.reedysetmessageid: <>
2016-01-22 23:28:21terry.reedylinkissue26177 messages
2016-01-22 23:28:21terry.reedycreate