Message268871
| 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 |
<1466371883.95.0.581289138006.issue22214@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年06月19日 21:31:24 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, gpolo |
| 2016年06月19日 21:31:23 | serhiy.storchaka | set | messageid: <1466371883.95.0.581289138006.issue22214@psf.upfronthosting.co.za> |
| 2016年06月19日 21:31:23 | serhiy.storchaka | link | issue22214 messages |
| 2016年06月19日 21:31:23 | serhiy.storchaka | create |
|