inducer/pudb — pull request #36 by pvaret (2012-04-12 10:28:07+00:00)
Title: Don't crash PuDB when viewing an object with a buggy str() or repr().

Hi,

Currently PuDB can crash when using the str or repr stringifiers, if the object being stringified is buggy. When attempting to debug code, it's very much a pain.

This patch works around the issue by falling back to the type stringifier in case the str or repr one fails.