That's a good fix. But I have misgivngs about needing a global name registry. I need to support anonymous types and types with local (lexical) scope. For example:
def makeAnonymousRecursiveType(T): # anonymous type expression with local scope LinkedList = (T, lambda: LinkedList) return LinkedList local = makeAnonymousRecursiveType(int) -- http://mail.python.org/mailman/listinfo/python-list