Benjamin Peterson <benja...@python.org> added the comment:

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.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33317>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to