summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #52 from RyPeck/python-3.5HEADmasterRay Holder2016-06-062-0/+2
|\ | | | | Add Python 3.5
| * Add Python 3.5Ryan Peck2016-06-052-0/+2
| |
* | Merge pull request #37 from harlowja/allow-retry-on-exception-exception-tupleRay Holder2016-06-062-4/+15
|\ \ | | | | | | Allow providing exception tuple for 'retry_on_exception' argument
| * | Allow providing exception tuple for 'retry_on_exception' argumentJoshua Harlow2015-06-232-4/+15
| | | | | | | | | | | | | | | | | | | | | It seems like a common pattern to have a function that is used that just checks if the exception that is thrown is of a given type so to avoid duplicating this pattern by all retry library users just natively provide support for it.
* | | Merge pull request #40 from cyrusd/masterRay Holder2016-06-054-3/+49
|\ \ \ | |_|/ |/| | Callbacks for before/after attempts
| * | updatedCyrus Durgin2015-12-181-1/+2
| | |
| * | Adds two additional parameters to the Retrying() constructor:cyrus durgin2015-09-103-2/+47
| |/ | | | | | | | | | | | | | | | | | | | | | | | | _before_attempts _after_attempts Each of these should be a reference to a function that takes a single argument, attempt_number. _before_attempts will be called before each attempt is run; _after_attempts is run after any *unsuccessful* attempt. Handy for logging status messages, etc in between attempts.
* | Merge pull request #38 from harlowja/incrementing-wait-maxRay Holder2016-06-051-0/+4
|\ \ | | | | | | Add a upper bound on incrementing wait
| * | Add a upper bound on incrementing waitJoshua Harlow2015-06-231-0/+4
| |/
* | Merge pull request #36 from jd/jd/staticmethodRay Holder2016-06-051-3/+6
|\ \ | |/ |/| Declare a few methods static
| * Declare a few methods staticJulien Danjou2015-06-011-3/+6
| | | | | | | | A few methods are actually static, declare them as such.
* | bump version up to 1.3.4-dev, align badges in README.rst with a service that ↵Ray Holder2015-06-072-6/+6
|/ | | | still works
* prepare for 1.3.3 releasev1.3.3Ray Holder2014-12-141-1/+1
|
* update history for 1.3.3 releaseRay Holder2014-12-141-0/+4
|
* add a few more contributorsRay Holder2014-12-141-0/+2
|
* Merge pull request #27 from herriojr/masterRay Holder2014-12-141-1/+1
|\ | | | | Adding in minimum version since anything lower doesn't work.
| * Adding in minimum version since anything lower doesn't work.Jonathan Herriott2014-11-191-1/+1
|/
* prepare for 1.3.2 releasev1.3.2Ray Holder2014-11-091-1/+1
|
* remove six license boilerplate since we're not embedding it anymoreRay Holder2014-11-091-23/+0
|
* update HISTORY.rst for 1.3.2Ray Holder2014-11-091-0/+5
|
* Merge pull request #23 from harlowja/jitterRay Holder2014-11-091-1/+6
|\ | | | | Allow a jitter value to be passed in
| * Allow a jitter value to be passed inJoshua Harlow2014-10-291-1/+6
| | | | | | | | | | | | | | | | | | | | To avoid the thundering herd problem when retrying is triggered at exactly the same moment by many entities allow for passing in a jitter maximum value which will be used to randomly alter the amount of time slept by each retrying object user; this helps randomize the thundering herd and makes it possible to reduce the issue.
* | adding Maxym Shalenyi to AUTHORS.rstRay Holder2014-11-091-0/+1
| |
* | Merge pull request #21 from harlowja/wrapsRay Holder2014-11-091-0/+4
|\ \ | | | | | | Ensure we wrap the decorated functions
| * | Ensure we wrap the decorated functionsJoshua Harlow2014-10-031-0/+4
| |/ | | | | | | | | | | | | To avoid losing the original functions docs, name and other attributes ensure that this correctly uses six.wraps (which uses functools.wraps internally) to wrap the decorated function.
* | fix up some some pep8 stuffRay Holder2014-11-091-4/+29
| |
* | bump version up to 1.3.2-devRay Holder2014-11-091-1/+1
|/
* Merge pull request #19 from emonty/masterv1.3.1Ray Holder2014-10-014-3/+8
|\ | | | | Add requirements.txt to MANFEST.in
| * Add requirements.txt to MANFEST.inMonty Taylor2014-09-304-3/+8
|/ | | | | Without this, pip installs of retrying all fail due to requirements.txt being missing in the tarball but required by setup.py.
* prepare for 1.3.0 releasev1.3.0Ray Holder2014-09-302-1/+5
|
* update AUTHORS.rst to add contributorsRay Holder2014-09-301-0/+7
|
* Merge pull request #16 from hguemar/masterRay Holder2014-09-303-26/+7
|\ | | | | Replaced bundled code with using six
| * Replaced bundled code with using sixHaïkel Guémar2014-09-053-26/+7
|/
* update AUTHORS.rstRay Holder2014-08-251-0/+1
|
* bump version up to 1.2.4-devRay Holder2014-08-251-1/+1
|
* Merge tag 'v1.2.3'Ray Holder2014-08-253-1/+6
|\ | | | | | | Release 1.2.3
| * prepare for 1.2.3 releasev1.2.3Ray Holder2014-08-252-1/+5
| |
| * add Daniel Nephin to AUTHORS.rstRay Holder2014-08-251-0/+1
| |
* | Merge pull request #15 from svisser/patch-1Ray Holder2014-08-251-2/+7
|\ \ | |/ |/| Ensure file handles are closed using with statement
| * Ensure file handles are closed using with statementSimeon Visser2014-08-261-2/+7
|/
* Merge pull request #14 from dnephin/custom_wait_and_stopRay Holder2014-08-252-3/+25
|\ | | | | Support custom wait and stop functions
| * Support custom wait and stop functions.Daniel Nephin2014-08-222-3/+25
|/
* bump version to 1.2.3-dev, add 3.3/3.4 classifiersRay Holder2014-06-261-1/+3
|
* add Saul Shanabrook to AUTHORS.rstRay Holder2014-06-261-1/+2
|
* Merge pull request #13 from saulshanabrook/patch-1Ray Holder2014-06-261-1/+3
|\ | | | | Add python 3.3 and 3.4 support
| * Add python 3.3 and 3.4 supportSaul Shanabrook2014-06-261-1/+3
|/
* prepare for 1.2.2 releasev1.2.2Ray Holder2014-06-201-1/+1
|
* update HISTORY.rst for 1.2.2 releaseRay Holder2014-06-201-0/+3
|
* add comments from rdooley, add comment around stop behaviorRay Holder2014-06-202-1/+8
|
* Merge pull request #10 from simondolle/bugfix/#8_raise_retry_error_on_failureRay Holder2014-06-203-4/+16
|\ | | | | Bugfix/#8 raise retry error on failure