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 <>
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.
Date User Action Args
2016-07-17 10:00:55serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, xiang.zhang
2016-07-17 10:00:55serhiy.storchakasetmessageid: <>
2016-07-17 10:00:55serhiy.storchakalinkissue27541 messages
2016-07-17 10:00:55serhiy.storchakacreate