rholder/retrying — pull request #20 by d0ugal (2014-10-01 19:20:49+00:00)
Title: Extend API to allow specifying the exception class

Adds an `on_exception` argument to specify the class of exception to catch. This provides a cleaner API to catching only specific exception classes.

Opening this in part as a POC and to start discussion. I think it is a much nicer API for this use case and also solves the issue of catching `BaseException` by default.

See #17