def unregister(self, path, watch_type=None, watcher=None, handler=None):
    
    if watch_type is core.WATCH_CHILDREN:
        watches = self._children_watches
        handlers = self._children_handlers
    else:
        watches = self._watches
        handlers = self._handlers
    
    if watcher:
      try:
        while True:
          watches.get(path, []).remove(watcher)
      except ValueError:
        pass
    if handler:
      try:
        while True:
          handlers.get(path, []).remove(handler)
      except ValueError:
        pass
Invoke list_set() with negative index
dataset/ETHPy150Open liquidgecka/twitcher/twitcher/zkwrapper.py/ZKWrapper.unregister--crossover with--dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_set.py/TestListSet.test_neg_list_set_with_negative_index