Closed TobiX closed 6 years ago
@verigak Ping? This still applies cleanly and adds a nice feature (IMHO)
Thanks for the ping, this is indeed useful. Please see just the one comment I left in the review and then I'll be happy to merge.
Doh' - fixed :)
Thanks!
Using a context manager you get exception management for free. I adjusted iter() and one of the samples to use the context manager.
Regarding iter() - would it be valuable to also make the non-infinite classes iterable themselves?
This would allow code like this:
PS: You should probably deprecate the SigIntMixin, since it isn't useful with proper exception handling (IMHO). PPS: This is half of #11, without all the threading...