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 serhiy.storchaka, vstinner
Date 2015-01-25.23:16:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Debugging build crashes in some circumstances in str.decode() with error handler which produces replacement string with length larger than malformed data. For example the backslashreplace error handler produces 4-character string for every illegal byte. All other standard error handlers produce no longer than 1 character for every illegal unit.

Here is a patch which fixes this issue. I'll commit it without review because buildbots are broken without it. This issue is open for reference and post-commit review.
Date User Action Args
2015-01-25 23:16:13serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2015-01-25 23:16:13serhiy.storchakasetmessageid: <>
2015-01-25 23:16:13serhiy.storchakalinkissue23321 messages
2015-01-25 23:16:13serhiy.storchakacreate