Esempio n. 1
0
 def __hash__(self):
     return _hash_attr(self, 'timestamp', 'receiver_address',
                       'sender_addresses')
Esempio n. 2
0
 def __hash__(self):
     return _hash_attr(self, 'circ_id', 'derivative_key', 'key_material')
Esempio n. 3
0
 def __hash__(self):
     return _hash_attr(self, 'versions')
Esempio n. 4
0
 def __hash__(self):
     return _hash_attr(self, 'command_int', 'stream_id', 'digest', 'data')
Esempio n. 5
0
 def __hash__(self):
     return _hash_attr(self, 'circ_id', 'reason_int')
Esempio n. 6
0
 def __hash__(self):
     return _hash_attr(self, 'address', 'or_port', 'dir_port',
                       'fingerprint', 'nickname', 'orport_v6')
Esempio n. 7
0
 def __hash__(self):
     return _hash_attr(self, 'has_extrainfo', 'header', parent=Directory)
Esempio n. 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
Esempio n. 9
0
  def __hash__(self):
    if self._hash is None:
      self._hash = _hash_attr(self, 'is_accept', 'min_port', 'max_port')

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

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