- handles recursive data structures
- formatting based on a PrettyPrinter object
- allows a maximum nesting depth to be specified
- provides safe repr()-like function which does not pretty-print
(with some slight formatting changes).
Feature requests:
- Make it a class (everything should be a class);
- support recursive data structures (like pp.py on the ftp contrib site).