Author serhiy.storchaka
Recipients doerwalter, ezio.melotti, fdrake, pitrou, serhiy.storchaka
Date 2013-12-14.19:57:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387051079.11.0.598418395259.issue19100@psf.upfronthosting.co.za>
In-reply-to
Content
The purpose of pprint.pprint() is to produce human-readable output. In this case some output is better than nothing. It isn't designed to be parseable by other programs, because sometimes it is even less accurate than the result of repr() (pprint() truncates long reprs and losses information for dict subclasses). Also result of pprint() can be changed from version to version (e.g. issue17150). The main source of non-ASCII characters is string reprs and for them the backslashreplace error handler doesn't lose information. And pprint.pprint() is mainly used for screen output too.
History
Date User Action Args
2013-12-14 19:57:59serhiy.storchakasetrecipients: + serhiy.storchaka, fdrake, doerwalter, pitrou, ezio.melotti
2013-12-14 19:57:59serhiy.storchakasetmessageid: <1387051079.11.0.598418395259.issue19100@psf.upfronthosting.co.za>
2013-12-14 19:57:59serhiy.storchakalinkissue19100 messages
2013-12-14 19:57:58serhiy.storchakacreate