I have no idea; new_generator() was introduced at the same time as the generator class. I would leave it alone -- it's an example of a factory function. --Guido van Rossum (home page: http://www.python.org/~guido/)