Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python3.6 /
site-packages /
zmq /
sugar /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-03-29 05:07
__init__.py
738
B
-rw-r--r--
2018-02-10 08:02
attrsettr.py
1.59
KB
-rw-r--r--
2018-02-10 08:02
constants.py
2.41
KB
-rw-r--r--
2018-02-10 08:02
context.py
6.12
KB
-rw-r--r--
2018-02-10 08:02
frame.py
2.89
KB
-rw-r--r--
2018-02-10 08:02
poll.py
5.2
KB
-rw-r--r--
2018-02-10 08:02
socket.py
24.24
KB
-rw-r--r--
2018-02-10 08:02
stopwatch.py
915
B
-rw-r--r--
2018-02-10 08:02
tracker.py
3.67
KB
-rw-r--r--
2018-02-10 08:02
version.py
1.2
KB
-rw-r--r--
2018-02-10 08:02
Save
Rename
# coding: utf-8 """Mixin for mapping set/getattr to self.set/get""" # Copyright (C) PyZMQ Developers # Distributed under the terms of the Modified BSD License. from . import constants class AttributeSetter(object): def __setattr__(self, key, value): """set zmq options by attribute""" # regular setattr only allowed for class-defined attributes for obj in [self] + self.__class__.mro(): if key in obj.__dict__: object.__setattr__(self, key, value) return upper_key = key.upper() try: opt = getattr(constants, upper_key) except AttributeError: raise AttributeError("%s has no such option: %s" % ( self.__class__.__name__, upper_key) ) else: self._set_attr_opt(upper_key, opt, value) def _set_attr_opt(self, name, opt, value): """override if setattr should do something other than call self.set""" self.set(opt, value) def __getattr__(self, key): """get zmq options by attribute""" upper_key = key.upper() try: opt = getattr(constants, upper_key) except AttributeError: raise AttributeError("%s has no such option: %s" % ( self.__class__.__name__, upper_key) ) else: return self._get_attr_opt(upper_key, opt) def _get_attr_opt(self, name, opt): """override if getattr should do something other than call self.get""" return self.get(opt) __all__ = ['AttributeSetter']