Forward-porting to Python 2.6 exposed a bug.