On Mon, Dec 6, 2010 at 4:02 PM, Raymond Hettinger <raymond.hettin...@gmail.com> wrote: > IIRC, pprint has a safe_repr() and string.Template has safe_substitute() > and pydoc has a safe import.
pprint.saferepr Ok, this one's my fault as well. Probably should just be named repr. string.Template.safe_substitute Agree on this as well. pydoc.safeimport Not documented, so I don't really care what it's called. > Never new there was so much danger in the standard library :-) You should have known this, Raymond! It's software. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> "A storm broke loose in my mind." --Albert Einstein _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com