Handling of GeneratorExit is really peculiar - it subverts normal exception propagation rules.
Attach a file by drag & drop or click to upload