Message211879
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. |
|
Date |
User |
Action |
Args |
2014-02-21 22:18:30 | terry.reedy | set | recipients:
+ terry.reedy, gpolo, serhiy.storchaka |
2014-02-21 22:18:30 | terry.reedy | set | messageid: <1393021110.78.0.321977922912.issue20636@psf.upfronthosting.co.za> |
2014-02-21 22:18:30 | terry.reedy | link | issue20636 messages |
2014-02-21 22:18:29 | terry.reedy | create | |
|