Pylons/pyramid_debugtoolbar — comment on commit 34fcff9df6c2de27a633a1563f5e21a285d3b388
File:  line 0
By blaflamme:

and why not use pprint.saferepr then?