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 r.david.murray
Recipients Arfrever, barry, ezio.melotti, loewis, nadeem.vawda, orsenthil, r.david.murray, rosslagerwall, serhiy.storchaka
Date 2012-09-23.19:06:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348427174.77.0.656591616199.issue11454@psf.upfronthosting.co.za>
In-reply-to
Content
Well, "other" surrogates will cause a different error later than with the current _has_surrogates logic, but it won't be any more mysterious than what would happen now, I think.  Normally, if I understand correctly, other surrogates should never occur, so I don't think it is a real issue.

Yes, lone '?'s should not stop the pattern match in an encoded string. Even though I don't think they are normally supposed to occur, they do occur when encoded words are encoded incorrectly, and we get a better error recovery result if we look for ?= as the end.
History
Date User Action Args
2012-09-23 19:06:14r.david.murraysetrecipients: + r.david.murray, loewis, barry, orsenthil, nadeem.vawda, ezio.melotti, Arfrever, rosslagerwall, serhiy.storchaka
2012-09-23 19:06:14r.david.murraysetmessageid: <1348427174.77.0.656591616199.issue11454@psf.upfronthosting.co.za>
2012-09-23 19:06:14r.david.murraylinkissue11454 messages
2012-09-23 19:06:14r.david.murraycreate