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 aoi.leslie
Recipients aoi.leslie
Date 2011-12-02.09:11:08
SpamBayes Score 5.934253e-12
Marked as misclassified No
Message-id <1322817071.4.0.270134570046.issue13519@psf.upfronthosting.co.za>
In-reply-to
Content
Symptom:
When use tkinter Widget class's rowconfigure or columnconfigure function (The two functions are defined in baseclass Misc.) to get the setting for a row or column (The setting is a dict containing fields 'minsize', 'pad', 'weight', and 'uniform'.), if field value of 'minsize', 'pad', or 'weight' is a positive integer instead of None, then error |TypeError: argument of type 'int' is not iterable| is raised. Field value of 'uniform' does not matter.

Speculation:
File |tkinter.__init__|, function |_grid_configure|, line 1279, code |elif '.' in value| caused this error. The code assumes the value is a str, but the value can be int.

Suggested Fix:
Change the code block around line 1279 to handle int value as well.
History
Date User Action Args
2011-12-02 09:11:11aoi.lesliesetrecipients: + aoi.leslie
2011-12-02 09:11:11aoi.lesliesetmessageid: <1322817071.4.0.270134570046.issue13519@psf.upfronthosting.co.za>
2011-12-02 09:11:10aoi.leslielinkissue13519 messages
2011-12-02 09:11:09aoi.lesliecreate