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: _dummy_thread.py
"""Drop-in replacement for the thread module. Meant to be used as a brain-dead substitute so that threaded code does not need to be rewritten for when the thread module is not present. Suggested usage is:: try: import _thread except ImportError: import _dummy_thread as _thread """ # Exports only things specified by thread documentation; # skipping obsolete synonyms allocate(), start_new(), exit_thread(). __all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock', 'interrupt_main', 'LockType'] # A dummy value TIMEOUT_MAX = 2**31 # NOTE: this module can be imported early in the extension building process, # and so top level imports of other modules should be avoided. Instead, all # imports are done when needed on a function-by-function basis. Since threads # are disabled, the import lock should not be an issue anyway (??). error = RuntimeError def start_new_thread(function, args, kwargs={}): """Dummy implementation of _thread.start_new_thread(). Compatibility is maintained by making sure that ``args`` is a tuple and ``kwargs`` is a dictionary. If an exception is raised and it is SystemExit (which can be done by _thread.exit()) it is caught and nothing is done; all other exceptions are printed out by using traceback.print_exc(). If the executed function calls interrupt_main the KeyboardInterrupt will be raised when the function returns. """ if type(args) != type(tuple()): raise TypeError("2nd arg must be a tuple") if type(kwargs) != type(dict()): raise TypeError("3rd arg must be a dict") global _main _main = False try: function(*args, **kwargs) except SystemExit: pass except: import traceback traceback.print_exc() _main = True global _interrupt if _interrupt: _interrupt = False raise KeyboardInterrupt def exit(): """Dummy implementation of _thread.exit().""" raise SystemExit def get_ident(): """Dummy implementation of _thread.get_ident(). Since this module should only be used when _threadmodule is not available, it is safe to assume that the current process is the only thread. Thus a constant can be safely returned. """ return -1 def allocate_lock(): """Dummy implementation of _thread.allocate_lock().""" return LockType() def stack_size(size=None): """Dummy implementation of _thread.stack_size().""" if size is not None: raise error("setting thread stack size not supported") return 0 def _set_sentinel(): """Dummy implementation of _thread._set_sentinel().""" return LockType() class LockType(object): """Class implementing dummy implementation of _thread.LockType. Compatibility is maintained by maintaining self.locked_status which is a boolean that stores the state of the lock. Pickling of the lock, though, should not be done since if the _thread module is then used with an unpickled ``lock()`` from here problems could occur from this class not having atomic methods. """ def __init__(self): self.locked_status = False def acquire(self, waitflag=None, timeout=-1): """Dummy implementation of acquire(). For blocking calls, self.locked_status is automatically set to True and returned appropriately based on value of ``waitflag``. If it is non-blocking, then the value is actually checked and not set if it is already acquired. This is all done so that threading.Condition's assert statements aren't triggered and throw a little fit. """ if waitflag is None or waitflag: self.locked_status = True return True else: if not self.locked_status: self.locked_status = True return True else: if timeout > 0: import time time.sleep(timeout) return False __enter__ = acquire def __exit__(self, typ, val, tb): self.release() def release(self): """Release the dummy lock.""" # XXX Perhaps shouldn't actually bother to test? Could lead # to problems for complex, threaded code. if not self.locked_status: raise error self.locked_status = False return True def locked(self): return self.locked_status def __repr__(self): return "<%s %s.%s object at %s>" % ( "locked" if self.locked_status else "unlocked", self.__class__.__module__, self.__class__.__qualname__, hex(id(self)) ) # Used to signal that interrupt_main was called in a "thread" _interrupt = False # True when not executing in a "thread" _main = True def interrupt_main(): """Set _interrupt flag to True to have start_new_thread raise KeyboardInterrupt upon exiting.""" if _main: raise KeyboardInterrupt else: global _interrupt _interrupt = True
Save