
Aug. 10, 2007
11:18 p.m.
On 8/10/07, wrobell <wrobell@pld-linux.org> wrote:
hi,
sometimes, when using print, i find pprint (pretty-print) module very useful. but then one has to import pprint module and use completely different function to dump structure to screen.
But the import is minimal. Plus with 'print' becoming a function you could easily replace the built-in 'print' with a pretty-print implementation application wide.
therefore i am wondering if it is possible to integrate pprint module functionality on print level function (python 3000) with 'pretty' parameter. of course, it opens some can of worms... but maybe it is worth considering?
I have never felt the need for this, so I don't feel like opening the can of worms. =) -Brett