Author serhiy.storchaka
Recipients gpolo, serhiy.storchaka, terry.reedy
Date 2014-08-21.05:55:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408600544.9.0.298278248933.issue22226@psf.upfronthosting.co.za>
In-reply-to
Content
The patch expands and fixes buggy ttk._dict_from_tcltuple, renames and moves it to tkinter._splitdict

There are differences between these functions. tkinter._splitdict calls splitlist on its argument, ttk._dict_from_tcltuple requires argument to be tuple/list. ttk._dict_from_tcltuple calls tclobjs_to_py on the result, tkinter._splitdict left it to the caller. Instead tkinter._splitdict allows you to specify custom function for dict values convertion.

Updated patch addresses Terry's comments.

Function name is matter of bakeshedding.
History
Date User Action Args
2014-08-21 05:55:44serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, gpolo
2014-08-21 05:55:44serhiy.storchakasetmessageid: <1408600544.9.0.298278248933.issue22226@psf.upfronthosting.co.za>
2014-08-21 05:55:44serhiy.storchakalinkissue22226 messages
2014-08-21 05:55:44serhiy.storchakacreate