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 serhiy.storchaka
Recipients gpolo, serhiy.storchaka
Date 2013-09-15.20:51:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379278268.95.0.270517014711.issue19028@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-09-15 20:51:08serhiy.storchakasetrecipients: + serhiy.storchaka, gpolo
2013-09-15 20:51:08serhiy.storchakasetmessageid: <1379278268.95.0.270517014711.issue19028@psf.upfronthosting.co.za>
2013-09-15 20:51:08serhiy.storchakalinkissue19028 messages
2013-09-15 20:51:08serhiy.storchakacreate