[issue16541] tk_setPalette doesn't accept keyword parameters

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue16541] tk_setPalette doesn't accept keyword parameters

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 956cfe53a99f by Serhiy Storchaka in branch '3.2': Issue #16541: tk_setPalette() now works with keyword arguments. http://hg.python.org/cpython/rev/956cfe53a99f New changeset 1ac028634b60 by Serhiy Storchaka in branch '3.3': Issue #16541: tk_setPalet

[issue16541] tk_setPalette doesn't accept keyword parameters

2012-12-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next year. -- assignee: -> serhiy.storchaka ___ Python tracker ___ _

[issue16541] tk_setPalette doesn't accept keyword parameters

2012-12-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, doing list(kw.items()) is safe now. Here is a patch. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file28206/tkinter_tk_setPalette.patch ___ Python tracker

[issue16541] tk_setPalette doesn't accept keyword parameters

2012-11-23 Thread Guilherme Polo
Guilherme Polo added the comment: If doing list(kw.items()) works, I'm fine with that. If it does not, then ttk._format_optdict(kw) should. -- ___ Python tracker ___ ___

[issue16541] tk_setPalette doesn't accept keyword parameters

2012-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are two ways to fix this issue: 1. Fix tk_setPalette() (just wrap kw.items() with list() or tuple()). 2. Fix C implementation of _flatten() for work with any iterators. -- nosy: +gpolo, serhiy.storchaka stage: -> needs patch type: compile error

[issue16541] tk_setPalette doesn't accept keyword parameters

2012-11-23 Thread Helmut Jarausch
New submission from Helmut Jarausch: import tkinter as Tk root= Tk.Tk() root.tk_setPalette(background = 'AntiqueWhite1', foreground = 'blue') but python-3.3:0+ (3.3:27cb1a3d57c8+) gives Traceback (most recent call last): File "Matr_Select.py", line 174, in root.tk_setPalette(background =