R. David Murray <rdmur...@bitdance.com> added the comment:
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).
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list