[issue2906] tkinter, assorted fixes

Guilherme Polo report at bugs.python.org
Sun May 18 17:38:58 CEST 2008


New submission from Guilherme Polo <ggpolo at gmail.com>:

This patch adds support for Tk options that could be passed as a list or
tuple, for example. I didn't investigate if there are any of these in tk
8.4, but tk 8.5 has this (the padding option for Ttk Label, for example).
Note that this should, if possible, be backported to python 2.5 at
least, since it segfaults here when I pass a list as an option value.

It also aligns some docstrings; documents the support for the 'in_'
option for grid, place and pack, actually all options may end with an
"_", but it is good to document 'in_' specifically because the option
'in' can't be passed "naturally". Lastly it removes the duplicate code
in class Place that checks for the 'in_' option.

----------
components: Tkinter
files: fixes_tkinter.diff
keywords: patch, patch
messages: 67029
nosy: gpolo
severity: normal
status: open
title: tkinter, assorted fixes
versions: Python 3.0
Added file: http://bugs.python.org/file10362/fixes_tkinter.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2906>
__________________________________


More information about the Python-bugs-list mailing list