Message148752
| 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:11 | aoi.leslie | set | recipients:
+ aoi.leslie |
| 2011年12月02日 09:11:11 | aoi.leslie | set | messageid: <1322817071.4.0.270134570046.issue13519@psf.upfronthosting.co.za> |
| 2011年12月02日 09:11:10 | aoi.leslie | link | issue13519 messages |
| 2011年12月02日 09:11:09 | aoi.leslie | create |
|