On 27.12.15 22:41, Guido van Rossum wrote:
Sure, but I still am curious what problem you are really trying to solve. The problem seems to be purely in your mind. You also seem to be taken the guideline that the repr() of an object should be eval()-able way too strictly. It is just a guideline to help class authors decide what their repr() should look like if they don't have a better idea. And the guideline encourages writing repr()s that are intuitive to readers. Beyond that there's nothing of value -- it just reduces guesswork on both sides.
Thank you, now I understand this.