Message185872
Antoine: the desired behavior is to have a function with the same signature as print (so multiple objects to print are supported), but which calls pprint.pformat instead of str. It lets people monkey-patch builtins.print or somemodule.print with pprint.print and get nicer output. (I rarely use print these days, as I work in web applications that use logging and responses, but in many other cases people use print and might want a quick way to make it pretty-print.) |
|
Date |
User |
Action |
Args |
2013-04-03 01:23:48 | eric.araujo | set | recipients:
+ eric.araujo, rhettinger, amaury.forgeotdarc, pitrou, giampaolo.rodola, ezio.melotti, marystern, serprex, BreamoreBoy |
2013-04-03 01:23:48 | eric.araujo | set | messageid: <1364952228.15.0.991820700244.issue6743@psf.upfronthosting.co.za> |
2013-04-03 01:23:48 | eric.araujo | link | issue6743 messages |
2013-04-03 01:23:47 | eric.araujo | create | |
|