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 ncoghlan
Recipients Arfrever, ezio.melotti, lemburg, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2014-09-23.10:57:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The function definition again, this time with a draft docstring:

    def convert_surrogateescape(data, errors='replace'):
        """Convert escaped raw bytes by applying a different error handler

        Uses the "replace" error handler by default, but any input
        error handler may be specified.
        return data.encode('utf-8', 'surrogateescape').decode('utf-8', errors)
Date User Action Args
2014-09-23 10:57:54ncoghlansetrecipients: + ncoghlan, lemburg, pitrou, vstinner, ezio.melotti, Arfrever, r.david.murray, serhiy.storchaka
2014-09-23 10:57:54ncoghlansetmessageid: <>
2014-09-23 10:57:54ncoghlanlinkissue18814 messages
2014-09-23 10:57:54ncoghlancreate