diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2017-08-30 15:09:25 -0700 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2019-10-07 11:18:57 -0700 |
commit | da97f64e42b07f28a45e7a6dfab9e623a7df5cdd (patch) | |
tree | a0a0a709a9f932995d9524258bcdd17d6c391342 | |
parent | 29eb99ba1a194e52ab06a0970c0338be72b1db28 (diff) | |
download | kafka-python-1193-remove-old-simple-clients.tar.gz |
Add a bunch of TODOs1193-remove-old-simple-clients
-rw-r--r-- | kafka/producer/buffer.py | 1 | ||||
-rw-r--r-- | kafka/protocol/struct.py | 1 | ||||
-rw-r--r-- | kafka/util.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/kafka/producer/buffer.py b/kafka/producer/buffer.py index 8a8d717..de41634 100644 --- a/kafka/producer/buffer.py +++ b/kafka/producer/buffer.py @@ -114,6 +114,7 @@ class SimpleBufferPool(object): with self._lock: return len(self._waiters) +# TODO should this be removed or finished? ''' class BufferPool(object): """ diff --git a/kafka/protocol/struct.py b/kafka/protocol/struct.py index 676de1b..df52de1 100644 --- a/kafka/protocol/struct.py +++ b/kafka/protocol/struct.py @@ -65,6 +65,7 @@ class Struct(AbstractType): return False return True +# TODO should this be removed or finished? """ class MetaStruct(type): def __new__(cls, clsname, bases, dct): diff --git a/kafka/util.py b/kafka/util.py index 9f65b81..76a3600 100644 --- a/kafka/util.py +++ b/kafka/util.py @@ -67,6 +67,7 @@ class Dict(dict): pass +# TODO what is the purpose of this? It has been unused since it was originally added def try_method_on_system_exit(obj, method, *args, **kwargs): def wrapper(_obj, _meth, *args, **kwargs): try: |