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 r.david.murray
Recipients Arka, matrixise, r.david.murray, serhiy.storchaka
Date 2018-02-09.14:13:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518185614.36.0.467229070634.issue32807@psf.upfronthosting.co.za>
In-reply-to
Content
That was kind of an abrupt message, let me be more verbose: thank you for wanting to improve python, but as Serhiy pointed out we already solved the problem you are considering via PEP 519.  In addition to that we consider str(x) to be the right way to get the string representation of something.  Adding an attribute containing the string value is not how python operates in general, so we wouldn't make an exception for this class (and note that this possibility was discussed in the lead up to PEP 519 and rejected).
History
Date User Action Args
2018-02-09 14:13:34r.david.murraysetrecipients: + r.david.murray, serhiy.storchaka, matrixise, Arka
2018-02-09 14:13:34r.david.murraysetmessageid: <1518185614.36.0.467229070634.issue32807@psf.upfronthosting.co.za>
2018-02-09 14:13:34r.david.murraylinkissue32807 messages
2018-02-09 14:13:34r.david.murraycreate