On Fri, 29 Aug 2008 05:42:46 -0700, Fett wrote: > On Aug 28, 7:57 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > > So long story short: if I am expecting a dictionary of strings, I should > make a parser that only accepts a dictionary of strings then. There is > no safe way to use an existing construct.
You may find the code here useful: http://effbot.org/zone/simple-iterator-parser.htm -- Steven -- http://mail.python.org/mailman/listinfo/python-list