Message270625
| Author | serhiy.storchaka |
|---|---|
| Recipients | rhettinger, serhiy.storchaka, xiang.zhang |
| Date | 2016-07-17.10:00:55 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1468749655.29.0.991701852942.issue27541@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This can break third-party code. For example the code that explicitly makes the repr containing a subclass name:
class MyStr(str):
def __repr__(self):
return 'MyStr(%s)' % str.__repr__(self)
I think the chance of breaking third-party code for bytearray or deque is smaller, since the repr is not literal. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-07-17 10:00:55 | serhiy.storchaka | set | recipients: + serhiy.storchaka, rhettinger, xiang.zhang |
| 2016-07-17 10:00:55 | serhiy.storchaka | set | messageid: <1468749655.29.0.991701852942.issue27541@psf.upfronthosting.co.za> |
| 2016-07-17 10:00:55 | serhiy.storchaka | link | issue27541 messages |
| 2016-07-17 10:00:55 | serhiy.storchaka | create | |