diff options
author | Dana Powers <dana.powers@rd.io> | 2015-12-28 13:24:37 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2015-12-28 14:57:54 -0800 |
commit | 87257bddf23850774794d4dc070a15ddddbd7830 (patch) | |
tree | aded09128b8b8dd1110168fb6604b04623668433 /kafka/protocol/commit.py | |
parent | b643ba1a1ed7838625012e6f75a1ed9b35ffd022 (diff) | |
download | kafka-python-87257bddf23850774794d4dc070a15ddddbd7830.tar.gz |
Improvements to kafka.future.Future
- log exceptions in callbacks/errors - dont raise
- guarantee future.exception is an instance, not a class/type
- *args, **kwargs in add_callback / errback (functools.partial)
- add_both(f, *args, **kwargs) to add same f as callback and errback
- chain(new_future) to trigger new_future on success / failure of this
Diffstat (limited to 'kafka/protocol/commit.py')
0 files changed, 0 insertions, 0 deletions