Message206200
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. |
|
Date |
User |
Action |
Args |
2013-12-14 19:57:59 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, fdrake, doerwalter, pitrou, ezio.melotti |
2013-12-14 19:57:59 | serhiy.storchaka | set | messageid: <1387051079.11.0.598418395259.issue19100@psf.upfronthosting.co.za> |
2013-12-14 19:57:59 | serhiy.storchaka | link | issue19100 messages |
2013-12-14 19:57:58 | serhiy.storchaka | create | |
|