'Generates the iterator from the text.'

def _genIterator(self, text):

    namespace = {'string': __import__('string')}
    try:
        it = eval(text, namespace)
    except Exception as e:
        msg = (_('%s:    %s    (generated    from    %r)') % (e.__class__.__name__, e, text))
        raise FuzzyError(msg)
    try:
        iter(it)
    except TypeError:
        msg = (_('%r    is    not    iterable!    (generated    from    %r)') % (it, text))
        raise FuzzyError(msg)
    return it
