New submission from Serhiy Storchaka: tkinter.tkapp.merge() recursively merge Python data into Tcl string. When a subitem neither tuple, string or byte string, it calls str() on it. But then it use PyBytes_AsString() which always fails because accepts bytes instead of str.
The proposed patch fixes processing general objects in merge(), simplifies processing strings, and adds tests. This is only 3.3 issue. merge() was deprecated and removed in 3.4. ---------- components: Tkinter files: tkinter_merge.patch keywords: patch messages: 197833 nosy: gpolo, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: tkinter.tkapp.merge() fails on non-strings type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file31783/tkinter_merge.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19028> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com