Raymond Hettinger added the comment:

> the primary sort will be on the type of quote used for the repr,
> which would be surprising and significantly less useful.

How about:  repr(obj).strip("'\"") ?

Overall, the idea of using repr() in some fashion is appealing because it sorts 
on what the user actually sees.

----------

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

Reply via email to