Message270627
Yes. So if we are not going to change other built-in types, maybe we'd better not change bytearray either. My opinion is that don't change built-in classes, even bytearray. If users would like a more reasonable repr, they can provide a custom __repr__ as your example. But make such changes to classes in collections sounds like a good idea to me. |
|
Date |
User |
Action |
Args |
2016-07-17 10:12:47 | xiang.zhang | set | recipients:
+ xiang.zhang, rhettinger, serhiy.storchaka |
2016-07-17 10:12:47 | xiang.zhang | set | messageid: <1468750367.24.0.936982511073.issue27541@psf.upfronthosting.co.za> |
2016-07-17 10:12:47 | xiang.zhang | link | issue27541 messages |
2016-07-17 10:12:47 | xiang.zhang | create | |
|