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, terry.reedy
Date 2016-06-19.21:31:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thank you Terry for your review. Here is updated patch fith fixed wording as you suggested. Hope it will be available to review on Rietveld.

The original purpose of this patch was to help fixing some IDLE "crashes". Percolator is registered in text widgets for highlighting pasted text. If you paste invalid string containing a lone surrogate on Windows (clipboard uses UTF-8), it first converted by Tcl to char*, and then Tkinter should convert it to Python string for passing to registered Python function, but fails. Since the information is lost during conversion in Tcl, we can't use say "surrogatepass" error handler fo representing non-well-formed data. With this patch we can decode just from Tcl unicode string.
Date User Action Args
2016-06-19 21:31:24serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, gpolo
2016-06-19 21:31:23serhiy.storchakasetmessageid: <>
2016-06-19 21:31:23serhiy.storchakalinkissue22214 messages
2016-06-19 21:31:23serhiy.storchakacreate