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 pekka.klarck
Recipients benjamin.peterson, ezio.melotti, lemburg, pekka.klarck, serhiy.storchaka, vstinner
Date 2018-04-20.08:53:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524214429.86.0.682650639539.issue33317@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for pointing out `ascii()`. Seems to do exactly what I want.

`repr()` showing combining characters would, in my opinion, still be useful to avoid problems like I demonstrated with unittest and pytest. I doubt it's a good idea with them to use `ascii()` instead of `repr()` by default because on Python 3 the latter generally works much better with non-ASCII text.
History
Date User Action Args
2018-04-20 08:53:49pekka.klarcksetrecipients: + pekka.klarck, lemburg, vstinner, benjamin.peterson, ezio.melotti, serhiy.storchaka
2018-04-20 08:53:49pekka.klarcksetmessageid: <1524214429.86.0.682650639539.issue33317@psf.upfronthosting.co.za>
2018-04-20 08:53:49pekka.klarcklinkissue33317 messages
2018-04-20 08:53:49pekka.klarckcreate