Example #1
0
 def __hash__(self):
     return _hash_attr(self, 'timestamp', 'receiver_address',
                       'sender_addresses')
Example #2
0
 def __hash__(self):
     return _hash_attr(self, 'circ_id', 'derivative_key', 'key_material')
Example #3
0
 def __hash__(self):
     return _hash_attr(self, 'versions')
Example #4
0
 def __hash__(self):
     return _hash_attr(self, 'command_int', 'stream_id', 'digest', 'data')
Example #5
0
 def __hash__(self):
     return _hash_attr(self, 'circ_id', 'reason_int')
Example #6
0
 def __hash__(self):
     return _hash_attr(self, 'address', 'or_port', 'dir_port',
                       'fingerprint', 'nickname', 'orport_v6')
Example #7
0
 def __hash__(self):
     return _hash_attr(self, 'has_extrainfo', 'header', parent=Directory)
Example #8
0
  def __hash__(self):
    if self._hash is None:
      self._hash = _hash_attr(self, 'is_accept', 'address', 'min_port', 'max_port') * 1024 + hash(self.get_mask(False))

    return self._hash
Example #9
0
  def __hash__(self):
    if self._hash is None:
      self._hash = _hash_attr(self, 'is_accept', 'min_port', 'max_port')

    return self._hash
Example #10
0
 def __hash__(self):
   return _hash_attr(self, 'name', 'category', 'usage', 'summary', 'description')
Example #11
0
 def __hash__(self):
   return _hash_attr(self, 'name', 'synopsis', 'description', 'commandline_options', 'signals', 'files', 'config_options')
Example #12
0
  def __hash__(self):
    if self._hash is None:
      self._hash = _hash_attr(self, 'major', 'minor', 'micro', 'patch', 'status')

    return self._hash
Example #13
0
 def __hash__(self):
   return _hash_attr(self, 'type_int', 'value')
Example #14
0
 def __hash__(self):
   return _hash_attr(self, 'nickname', 'v3ident', 'is_bandwidth_authority', parent = Directory)
Example #15
0
 def __hash__(self):
   return _hash_attr(self, 'address', 'or_port', 'dir_port', 'fingerprint')
Example #16
0
 def __hash__(self):
   return _hash_attr(self, 'orport_v6', parent = Directory)