Add tests for weakref support for generator-iterators.
Part of fixing SF bug #591704.
1 file changed