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 benjamin.peterson
Recipients benjamin.peterson, ezio.melotti, lemburg, pekka.klarck, serhiy.storchaka, vstinner
Date 2018-04-24.03:49:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524541782.53.0.682650639539.issue33317@psf.upfronthosting.co.za>
In-reply-to
Content
As stated, the bug report is invalid: the repr _does_ differ, it's just not presented that way by however you're viewing the two reprs. Distinct codepoint sequences that look identical under certain circumstances can happen many different ways with Unicode. repr's humble mission is to produce a Python literal equivalent to its argument not to produce unambiguous representations of codepoint sequences after font rendering.

Possibly, this could be converted to a unittest RFE, but I'm not sure if there's a good way to detect whether two unicode strings are going to display confusingly similarly.
History
Date User Action Args
2018-04-24 03:49:42benjamin.petersonsetrecipients: + benjamin.peterson, lemburg, vstinner, ezio.melotti, pekka.klarck, serhiy.storchaka
2018-04-24 03:49:42benjamin.petersonsetmessageid: <1524541782.53.0.682650639539.issue33317@psf.upfronthosting.co.za>
2018-04-24 03:49:42benjamin.petersonlinkissue33317 messages
2018-04-24 03:49:41benjamin.petersoncreate