Author Bernat Gabor
Recipients Bernat Gabor, remi.lapeyre
Date 2020-07-24.15:03:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595603038.84.0.153269919879.issue41383@roundup.psfhosted.org>
In-reply-to
Content
Thanks RĂ©mi, did not know about it. Played around with it, and is not entirely what we'd need here. That class still generates the long string repr, just truncates it afterwards. That is unless teh Repr implements custom formatting for the types, however the Repr would be the IDEs code, and that doesn't understand enough the user code to be able to tell what's a good short representation for it. This was the idea with adding it as a parameter to the repr function, that the user can customize/override the outcome depenending how many characters it has left to use up for repr.
History
Date User Action Args
2020-07-24 15:03:58Bernat Gaborsetrecipients: + Bernat Gabor, remi.lapeyre
2020-07-24 15:03:58Bernat Gaborsetmessageid: <1595603038.84.0.153269919879.issue41383@roundup.psfhosted.org>
2020-07-24 15:03:58Bernat Gaborlinkissue41383 messages
2020-07-24 15:03:58Bernat Gaborcreate