[Python-Dev] Repo frozen for 3.2 (original) (raw)

Fred Drake fdrake at acm.org
Mon Dec 6 22:09:17 CET 2010


On Mon, Dec 6, 2010 at 4:02 PM, Raymond Hettinger <raymond.hettinger at gmail.com> wrote:

IIRC, pprint has a saferepr() and string.Template has safesubstitute() 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.    "A storm broke loose in my mind."  --Albert Einstein



More information about the Python-Dev mailing list