This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients BreamoreBoy, amaury.forgeotdarc, eric.araujo, ezio.melotti, giampaolo.rodola, marystern, pitrou, rhettinger, serprex
Date 2013-04-03.01:23:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364952228.15.0.991820700244.issue6743@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2013-04-03 01:23:48eric.araujosetrecipients: + eric.araujo, rhettinger, amaury.forgeotdarc, pitrou, giampaolo.rodola, ezio.melotti, marystern, serprex, BreamoreBoy
2013-04-03 01:23:48eric.araujosetmessageid: <1364952228.15.0.991820700244.issue6743@psf.upfronthosting.co.za>
2013-04-03 01:23:48eric.araujolinkissue6743 messages
2013-04-03 01:23:47eric.araujocreate