Author matpi
Recipients Seth.Troisi, eric.smith, ezio.melotti, matpi, mrabarnett, rhettinger, serhiy.storchaka
Date 2020-06-16.21:53:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592344416.7.0.929644056001.issue39949@roundup.psfhosted.org>
In-reply-to
Content
File objects are an example of a square-bracket repr with string parameters in the repr, but no truncation is performed (see https://github.com/python/cpython/blob/master/Modules/_io/textio.c#L2912).

Various truncations with the same (lack of?) clarity are done in the stdlib, see eg. https://github.com/python/cpython/blob/04fc4f2a46b2fd083639deb872c3a3037fdb47d6/Objects/longobject.c#L2475.
History
Date User Action Args
2020-06-16 21:53:36matpisetrecipients: + matpi, rhettinger, eric.smith, ezio.melotti, mrabarnett, Seth.Troisi, serhiy.storchaka
2020-06-16 21:53:36matpisetmessageid: <1592344416.7.0.929644056001.issue39949@roundup.psfhosted.org>
2020-06-16 21:53:36matpilinkissue39949 messages
2020-06-16 21:53:36matpicreate