Generators: Support explicit StopIteration raising.
Before this patch we couldn't run 'list(G())' if G contained a explicit raise StopIteration statement. This also adds support for custom StopIteration subclasses.
Showing
Please register or sign in to comment