SM0 She11
Path:
/
/
usr
/
lib64
/
python3.6
Full Path (server): /usr/lib64/python3.6
Create Fil3
Upl04d Fil3
📄 __future__.py
[E]
[D]
[R]
📄 __phello__.foo.py
[E]
[D]
[R]
📁 __pycache__
Open
[D]
[R]
📄 _bootlocale.py
[E]
[D]
[R]
📄 _collections_abc.py
[E]
[D]
[R]
📄 _compat_pickle.py
[E]
[D]
[R]
📄 _compression.py
[E]
[D]
[R]
📄 _dummy_thread.py
[E]
[D]
[R]
📄 _markupbase.py
[E]
[D]
[R]
📄 _osx_support.py
[E]
[D]
[R]
📄 _pydecimal.py
[E]
[D]
[R]
📄 _pyio.py
[E]
[D]
[R]
📄 _sitebuiltins.py
[E]
[D]
[R]
📄 _strptime.py
[E]
[D]
[R]
📄 _sysconfigdata_dm_linux_x86_64-linux-gnu.py
[E]
[D]
[R]
📄 _sysconfigdata_m_linux_x86_64-linux-gnu.py
[E]
[D]
[R]
📄 _threading_local.py
[E]
[D]
[R]
📄 _weakrefset.py
[E]
[D]
[R]
📄 abc.py
[E]
[D]
[R]
📄 aifc.py
[E]
[D]
[R]
📄 antigravity.py
[E]
[D]
[R]
📄 argparse.py
[E]
[D]
[R]
📄 ast.py
[E]
[D]
[R]
📄 asynchat.py
[E]
[D]
[R]
📁 asyncio
Open
[D]
[R]
📄 asyncore.py
[E]
[D]
[R]
📄 base64.py
[E]
[D]
[R]
📄 bdb.py
[E]
[D]
[R]
📄 binhex.py
[E]
[D]
[R]
📄 bisect.py
[E]
[D]
[R]
📄 bz2.py
[E]
[D]
[R]
📄 cProfile.py
[E]
[D]
[R]
📄 calendar.py
[E]
[D]
[R]
📄 cgi.py
[E]
[D]
[R]
📄 cgitb.py
[E]
[D]
[R]
📄 chunk.py
[E]
[D]
[R]
📄 cmd.py
[E]
[D]
[R]
📄 code.py
[E]
[D]
[R]
📄 codecs.py
[E]
[D]
[R]
📄 codeop.py
[E]
[D]
[R]
📁 collections
Open
[D]
[R]
📄 colorsys.py
[E]
[D]
[R]
📄 compileall.py
[E]
[D]
[R]
📁 concurrent
Open
[D]
[R]
📁 config-3.6m-x86_64-linux-gnu
Open
[D]
[R]
📄 configparser.py
[E]
[D]
[R]
📄 contextlib.py
[E]
[D]
[R]
📄 copy.py
[E]
[D]
[R]
📄 copyreg.py
[E]
[D]
[R]
📄 crypt.py
[E]
[D]
[R]
📄 csv.py
[E]
[D]
[R]
📁 ctypes
Open
[D]
[R]
📁 curses
Open
[D]
[R]
📄 datetime.py
[E]
[D]
[R]
📁 dbm
Open
[D]
[R]
📄 decimal.py
[E]
[D]
[R]
📄 difflib.py
[E]
[D]
[R]
📄 dis.py
[E]
[D]
[R]
📁 distutils
Open
[D]
[R]
📄 doctest.py
[E]
[D]
[R]
📄 dummy_threading.py
[E]
[D]
[R]
📁 email
Open
[D]
[R]
📁 encodings
Open
[D]
[R]
📁 ensurepip
Open
[D]
[R]
📄 enum.py
[E]
[D]
[R]
📄 filecmp.py
[E]
[D]
[R]
📄 fileinput.py
[E]
[D]
[R]
📄 fnmatch.py
[E]
[D]
[R]
📄 formatter.py
[E]
[D]
[R]
📄 fractions.py
[E]
[D]
[R]
📄 ftplib.py
[E]
[D]
[R]
📄 functools.py
[E]
[D]
[R]
📄 genericpath.py
[E]
[D]
[R]
📄 getopt.py
[E]
[D]
[R]
📄 getpass.py
[E]
[D]
[R]
📄 gettext.py
[E]
[D]
[R]
📄 glob.py
[E]
[D]
[R]
📄 gzip.py
[E]
[D]
[R]
📄 hashlib.py
[E]
[D]
[R]
📄 heapq.py
[E]
[D]
[R]
📄 hmac.py
[E]
[D]
[R]
📁 html
Open
[D]
[R]
📁 http
Open
[D]
[R]
📄 imaplib.py
[E]
[D]
[R]
📄 imghdr.py
[E]
[D]
[R]
📄 imp.py
[E]
[D]
[R]
📁 importlib
Open
[D]
[R]
📄 inspect.py
[E]
[D]
[R]
📄 io.py
[E]
[D]
[R]
📄 ipaddress.py
[E]
[D]
[R]
📁 json
Open
[D]
[R]
📄 keyword.py
[E]
[D]
[R]
📁 lib-dynload
Open
[D]
[R]
📁 lib2to3
Open
[D]
[R]
📄 linecache.py
[E]
[D]
[R]
📄 locale.py
[E]
[D]
[R]
📁 logging
Open
[D]
[R]
📄 lzma.py
[E]
[D]
[R]
📄 macpath.py
[E]
[D]
[R]
📄 macurl2path.py
[E]
[D]
[R]
📄 mailbox.py
[E]
[D]
[R]
📄 mailcap.py
[E]
[D]
[R]
📄 mimetypes.py
[E]
[D]
[R]
📄 modulefinder.py
[E]
[D]
[R]
📁 multiprocessing
Open
[D]
[R]
📄 netrc.py
[E]
[D]
[R]
📄 nntplib.py
[E]
[D]
[R]
📄 ntpath.py
[E]
[D]
[R]
📄 nturl2path.py
[E]
[D]
[R]
📄 numbers.py
[E]
[D]
[R]
📄 opcode.py
[E]
[D]
[R]
📄 operator.py
[E]
[D]
[R]
📄 optparse.py
[E]
[D]
[R]
📄 os.py
[E]
[D]
[R]
📄 pathlib.py
[E]
[D]
[R]
📄 pdb.py
[E]
[D]
[R]
📄 pickle.py
[E]
[D]
[R]
📄 pickletools.py
[E]
[D]
[R]
📄 pipes.py
[E]
[D]
[R]
📄 pkgutil.py
[E]
[D]
[R]
📄 platform.py
[E]
[D]
[R]
📄 plistlib.py
[E]
[D]
[R]
📄 poplib.py
[E]
[D]
[R]
📄 posixpath.py
[E]
[D]
[R]
📄 pprint.py
[E]
[D]
[R]
📄 profile.py
[E]
[D]
[R]
📄 pstats.py
[E]
[D]
[R]
📄 pty.py
[E]
[D]
[R]
📄 py_compile.py
[E]
[D]
[R]
📄 pyclbr.py
[E]
[D]
[R]
📄 pydoc.py
[E]
[D]
[R]
📁 pydoc_data
Open
[D]
[R]
📄 queue.py
[E]
[D]
[R]
📄 quopri.py
[E]
[D]
[R]
📄 random.py
[E]
[D]
[R]
📄 re.py
[E]
[D]
[R]
📄 reprlib.py
[E]
[D]
[R]
📄 rlcompleter.py
[E]
[D]
[R]
📄 runpy.py
[E]
[D]
[R]
📄 sched.py
[E]
[D]
[R]
📄 secrets.py
[E]
[D]
[R]
📄 selectors.py
[E]
[D]
[R]
📄 shelve.py
[E]
[D]
[R]
📄 shlex.py
[E]
[D]
[R]
📄 shutil.py
[E]
[D]
[R]
📄 signal.py
[E]
[D]
[R]
📁 site-packages
Open
[D]
[R]
📄 site.py
[E]
[D]
[R]
📄 smtpd.py
[E]
[D]
[R]
📄 smtplib.py
[E]
[D]
[R]
📄 sndhdr.py
[E]
[D]
[R]
📄 socket.py
[E]
[D]
[R]
📄 socketserver.py
[E]
[D]
[R]
📁 sqlite3
Open
[D]
[R]
📄 sre_compile.py
[E]
[D]
[R]
📄 sre_constants.py
[E]
[D]
[R]
📄 sre_parse.py
[E]
[D]
[R]
📄 ssl.py
[E]
[D]
[R]
📄 stat.py
[E]
[D]
[R]
📄 statistics.py
[E]
[D]
[R]
📄 string.py
[E]
[D]
[R]
📄 stringprep.py
[E]
[D]
[R]
📄 struct.py
[E]
[D]
[R]
📄 subprocess.py
[E]
[D]
[R]
📄 sunau.py
[E]
[D]
[R]
📄 symbol.py
[E]
[D]
[R]
📄 symtable.py
[E]
[D]
[R]
📄 sysconfig.py
[E]
[D]
[R]
📄 tabnanny.py
[E]
[D]
[R]
📄 tarfile.py
[E]
[D]
[R]
📄 telnetlib.py
[E]
[D]
[R]
📄 tempfile.py
[E]
[D]
[R]
📁 test
Open
[D]
[R]
📄 textwrap.py
[E]
[D]
[R]
📄 this.py
[E]
[D]
[R]
📄 threading.py
[E]
[D]
[R]
📄 timeit.py
[E]
[D]
[R]
📄 token.py
[E]
[D]
[R]
📄 tokenize.py
[E]
[D]
[R]
📄 trace.py
[E]
[D]
[R]
📄 traceback.py
[E]
[D]
[R]
📄 tracemalloc.py
[E]
[D]
[R]
📄 tty.py
[E]
[D]
[R]
📄 types.py
[E]
[D]
[R]
📄 typing.py
[E]
[D]
[R]
📁 unittest
Open
[D]
[R]
📁 urllib
Open
[D]
[R]
📄 uu.py
[E]
[D]
[R]
📄 uuid.py
[E]
[D]
[R]
📁 venv
Open
[D]
[R]
📄 warnings.py
[E]
[D]
[R]
📄 wave.py
[E]
[D]
[R]
📄 weakref.py
[E]
[D]
[R]
📄 webbrowser.py
[E]
[D]
[R]
📁 wsgiref
Open
[D]
[R]
📄 xdrlib.py
[E]
[D]
[R]
📁 xml
Open
[D]
[R]
📁 xmlrpc
Open
[D]
[R]
📄 zipapp.py
[E]
[D]
[R]
📄 zipfile.py
[E]
[D]
[R]
Editing: copyreg.py
"""Helper to provide extensibility for pickle. This is only useful to add pickle support for extension types defined in C, not for instances of user-defined classes. """ __all__ = ["pickle", "constructor", "add_extension", "remove_extension", "clear_extension_cache"] dispatch_table = {} def pickle(ob_type, pickle_function, constructor_ob=None): if not callable(pickle_function): raise TypeError("reduction functions must be callable") dispatch_table[ob_type] = pickle_function # The constructor_ob function is a vestige of safe for unpickling. # There is no reason for the caller to pass it anymore. if constructor_ob is not None: constructor(constructor_ob) def constructor(object): if not callable(object): raise TypeError("constructors must be callable") # Example: provide pickling support for complex numbers. try: complex except NameError: pass else: def pickle_complex(c): return complex, (c.real, c.imag) pickle(complex, pickle_complex, complex) # Support for pickling new-style objects def _reconstructor(cls, base, state): if base is object: obj = object.__new__(cls) else: obj = base.__new__(cls, state) if base.__init__ != object.__init__: base.__init__(obj, state) return obj _HEAPTYPE = 1<<9 # Python code for object.__reduce_ex__ for protocols 0 and 1 def _reduce_ex(self, proto): assert proto < 2 for base in self.__class__.__mro__: if hasattr(base, '__flags__') and not base.__flags__ & _HEAPTYPE: break else: base = object # not really reachable if base is object: state = None else: if base is self.__class__: raise TypeError("can't pickle %s objects" % base.__name__) state = base(self) args = (self.__class__, base, state) try: getstate = self.__getstate__ except AttributeError: if getattr(self, "__slots__", None): raise TypeError("a class that defines __slots__ without " "defining __getstate__ cannot be pickled") try: dict = self.__dict__ except AttributeError: dict = None else: dict = getstate() if dict: return _reconstructor, args, dict else: return _reconstructor, args # Helper for __reduce_ex__ protocol 2 def __newobj__(cls, *args): return cls.__new__(cls, *args) def __newobj_ex__(cls, args, kwargs): """Used by pickle protocol 4, instead of __newobj__ to allow classes with keyword-only arguments to be pickled correctly. """ return cls.__new__(cls, *args, **kwargs) def _slotnames(cls): """Return a list of slot names for a given class. This needs to find slots defined by the class and its bases, so we can't simply return the __slots__ attribute. We must walk down the Method Resolution Order and concatenate the __slots__ of each class found there. (This assumes classes don't modify their __slots__ attribute to misrepresent their slots after the class is defined.) """ # Get the value from a cache in the class if possible names = cls.__dict__.get("__slotnames__") if names is not None: return names # Not cached -- calculate the value names = [] if not hasattr(cls, "__slots__"): # This class has no slots pass else: # Slots found -- gather slot names from all base classes for c in cls.__mro__: if "__slots__" in c.__dict__: slots = c.__dict__['__slots__'] # if class has a single slot, it can be given as a string if isinstance(slots, str): slots = (slots,) for name in slots: # special descriptors if name in ("__dict__", "__weakref__"): continue # mangled names elif name.startswith('__') and not name.endswith('__'): stripped = c.__name__.lstrip('_') if stripped: names.append('_%s%s' % (stripped, name)) else: names.append(name) else: names.append(name) # Cache the outcome in the class if at all possible try: cls.__slotnames__ = names except: pass # But don't die if we can't return names # A registry of extension codes. This is an ad-hoc compression # mechanism. Whenever a global reference to <module>, <name> is about # to be pickled, the (<module>, <name>) tuple is looked up here to see # if it is a registered extension code for it. Extension codes are # universal, so that the meaning of a pickle does not depend on # context. (There are also some codes reserved for local use that # don't have this restriction.) Codes are positive ints; 0 is # reserved. _extension_registry = {} # key -> code _inverted_registry = {} # code -> key _extension_cache = {} # code -> object # Don't ever rebind those names: pickling grabs a reference to them when # it's initialized, and won't see a rebinding. def add_extension(module, name, code): """Register an extension code.""" code = int(code) if not 1 <= code <= 0x7fffffff: raise ValueError("code out of range") key = (module, name) if (_extension_registry.get(key) == code and _inverted_registry.get(code) == key): return # Redundant registrations are benign if key in _extension_registry: raise ValueError("key %s is already registered with code %s" % (key, _extension_registry[key])) if code in _inverted_registry: raise ValueError("code %s is already in use for key %s" % (code, _inverted_registry[code])) _extension_registry[key] = code _inverted_registry[code] = key def remove_extension(module, name, code): """Unregister an extension code. For testing only.""" key = (module, name) if (_extension_registry.get(key) != code or _inverted_registry.get(code) != key): raise ValueError("key %s is not registered with code %s" % (key, code)) del _extension_registry[key] del _inverted_registry[code] if code in _extension_cache: del _extension_cache[code] def clear_extension_cache(): _extension_cache.clear() # Standard extension code assignments # Reserved ranges # First Last Count Purpose # 1 127 127 Reserved for Python standard library # 128 191 64 Reserved for Zope # 192 239 48 Reserved for 3rd parties # 240 255 16 Reserved for private use (will never be assigned) # 256 Inf Inf Reserved for future assignment # Extension codes are assigned by the Python Software Foundation.
Save