CPython: remove redundant self->valid test.
CPython: fix brain damage from C89 changes

iter_next UB on first iteration