Implement py2k iteration interface

zero chance of problem in other code.  makes py2.7 work for running examples/widgets/screenmanager