How do I make pprint do this

2009-05-20 Thread jcervidae
I cannot get pprint to format output how I would like. pydb does. I tried grepping the source but still couldn't grok it. Here: (Pydb) a = range(1,100) (Pydb) pp a [1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 3

pydb output vanishes when running nosetests doctests

2009-05-18 Thread jcervidae
Hi Pythonistas: When pydb.debugger() is launched from within my code or for some other reason pydb starts from inside a nosetests or doctest, I do not see any output from it. It appears the test has hung but it hasn't. If I type commands pydb obeys them I just can't see the results. How can I stop