[proxy] bugs.python.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Message 230671 - Python tracker

Message230671

Author rhettinger
Recipients amaury.forgeotdarc, fdrake, pitrou, rhettinger, serhiy.storchaka
Date 2014-11-05.08:55:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415177746.18.0.469144586089.issue22721@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2014-11-05 08:55:46rhettingersetrecipients: + rhettinger, fdrake, amaury.forgeotdarc, pitrou, serhiy.storchaka
2014-11-05 08:55:46rhettingersetmessageid: <1415177746.18.0.469144586089.issue22721@psf.upfronthosting.co.za>
2014-11-05 08:55:46rhettingerlinkissue22721 messages
2014-11-05 08:55:45rhettingercreate