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

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

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