This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Camion, serhiy.storchaka, xtreak
Date 2018-11-06.07:26:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541489190.25.0.788709270274.issue35174@psf.upfronthosting.co.za>
In-reply-to
Content
list inherits __str__ from object. object.__str__() calls __repr__() which can be overridden in subclasses. So if you want repr() and str() returned the same, you need to define only the __repr__() method. This is a feature, not a bug.
History
Date User Action Args
2018-11-06 07:26:30serhiy.storchakasetrecipients: + serhiy.storchaka, Camion, xtreak
2018-11-06 07:26:30serhiy.storchakasetmessageid: <1541489190.25.0.788709270274.issue35174@psf.upfronthosting.co.za>
2018-11-06 07:26:30serhiy.storchakalinkissue35174 messages
2018-11-06 07:26:30serhiy.storchakacreate