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 benjamin.peterson, ezio.melotti, lemburg, pekka.klarck, serhiy.storchaka, vstinner
Date 2018-04-20.07:54:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524210887.17.0.682650639539.issue33317@psf.upfronthosting.co.za>
In-reply-to
Content
Use ascii() in Python 3 if you want the behavior of repr() in Python 2. It escapes all non-ascii characters.

But escaping only combining characters in addition to non-printable characters in repr() looks an interesting idea.
History
Date User Action Args
2018-04-20 07:54:47serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, vstinner, benjamin.peterson, ezio.melotti, pekka.klarck
2018-04-20 07:54:47serhiy.storchakasetmessageid: <1524210887.17.0.682650639539.issue33317@psf.upfronthosting.co.za>
2018-04-20 07:54:47serhiy.storchakalinkissue33317 messages
2018-04-20 07:54:46serhiy.storchakacreate