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 JBernardo, Ramchandra Apte, Rosuav, William.Schwartz, asvetlov, ezio.melotti, ned.deily, python-dev, roger.serwy, serhiy.storchaka, terry.reedy
Date 2013-09-04.21:12:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378329159.06.0.230781175393.issue13153@psf.upfronthosting.co.za>
In-reply-to
Content
This bug can be reproduced on Linux too. Just copy and paste illegal UTF-8 sequence. I.e. b'\xed\xb2\x80' or b'\xc0\x80'. My patch works with first example but failed with second. When change the error handler in fromTclStringAndSize() to "replace" it works with all illegal sequences.
History
Date User Action Args
2013-09-04 21:12:39serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ned.deily, ezio.melotti, roger.serwy, asvetlov, python-dev, JBernardo, Rosuav, Ramchandra Apte, William.Schwartz
2013-09-04 21:12:39serhiy.storchakasetmessageid: <1378329159.06.0.230781175393.issue13153@psf.upfronthosting.co.za>
2013-09-04 21:12:39serhiy.storchakalinkissue13153 messages
2013-09-04 21:12:38serhiy.storchakacreate