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 terry.reedy
Recipients gpolo, serhiy.storchaka, terry.reedy
Date 2014-02-21.22:18:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393021110.78.0.321977922912.issue20636@psf.upfronthosting.co.za>
In-reply-to
Content
I like this. It would make naming widgets more useful. I checked one Idle dialog and nothing is named. I suspect this is typical.

The proposed change would break a doctest that follows the fix in the doctest manual.
---
>>> C()   # the default repr() for instances embeds an address
<__main__.C instance at 0x00AC18F0>

The ELLIPSIS directive gives a nice approach for the last example:
>>>

>>> C() #doctest: +ELLIPSIS
<__main__.C instance at 0x...>
---
I think the recommendation should better be

<__main__.C instance ...>

except that 'instance' is now 'object' -- and *that* change must have broken much more that this one would.
History
Date User Action Args
2014-02-21 22:18:30terry.reedysetrecipients: + terry.reedy, gpolo, serhiy.storchaka
2014-02-21 22:18:30terry.reedysetmessageid: <1393021110.78.0.321977922912.issue20636@psf.upfronthosting.co.za>
2014-02-21 22:18:30terry.reedylinkissue20636 messages
2014-02-21 22:18:29terry.reedycreate