Frame's field f_tstate is NULL when the generator is exhausted.
Attach a file by drag & drop or click to upload