Message207370
As far as the patch becomes too complicated, I propose minimalist patch which fixes only this issue. I.e. IDLE will no longer silently closed when paste some unusual text (non-BMP on Windows or illegal UTF-8 on Linux). It fixes converting Tcl string to Python string for arguments of Python callback. \xc0\x80 is translated to the NUL character (U+0000) because Tcl uses "modified" UTF-8. All other illegal UTF-8 codes are replaced by the replacement character (U+FFFD). |
|
Date |
User |
Action |
Args |
2014-01-05 11:31:30 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, terry.reedy, ned.deily, ezio.melotti, roger.serwy, asvetlov, python-dev, JBernardo, Rosuav, Ramchandra Apte, William.Schwartz |
2014-01-05 11:31:30 | serhiy.storchaka | set | messageid: <1388921490.42.0.398499551215.issue13153@psf.upfronthosting.co.za> |
2014-01-05 11:31:30 | serhiy.storchaka | link | issue13153 messages |
2014-01-05 11:31:30 | serhiy.storchaka | create | |
|