Author xiang.zhang
Recipients rhettinger, serhiy.storchaka, xiang.zhang
Date 2016-07-17.10:12:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468750367.24.0.936982511073.issue27541@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-07-17 10:12:47xiang.zhangsetrecipients: + xiang.zhang, rhettinger, serhiy.storchaka
2016-07-17 10:12:47xiang.zhangsetmessageid: <1468750367.24.0.936982511073.issue27541@psf.upfronthosting.co.za>
2016-07-17 10:12:47xiang.zhanglinkissue27541 messages
2016-07-17 10:12:47xiang.zhangcreate