Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Manhole

 Manhole

Lightning talk at EuroPython 2015 about mahole, the progress introspection lib for Python

Jyrki Pulliainen

July 23, 2015
Tweet

More Decks by Jyrki Pulliainen

Other Decks in Technology

Transcript

  1. – Wikipedia “A manhole (alternatively utility hole, cable chamber, maintenance

    hole, inspection chamber, access chamber, sewer hole or confined space) is the top opening to an underground utility vault “
  2. OR

  3. run_repl(locals) File: "/Users/jyrki/.virtualenvs/manhole/lib/python2.7/site-packages/manhole.py", line 300, in run_repl dump_stacktraces() File: "/Users/jyrki/.virtualenvs/manhole/lib/python2.7/site-packages/manhole.py",

    line 538, in dump_stacktraces for filename, lineno, name, line in traceback.extract_stack(stack): ######### ProcessID=25330, ThreadID=4322320384 ######### File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ threading.py", line 783, in __bootstrap self.__bootstrap_inner() File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ threading.py", line 810, in __bootstrap_inner self.run() File: "/Users/jyrki/.virtualenvs/manhole/lib/python2.7/site-packages/manhole.py", line 185, in run client.join() File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ threading.py", line 750, in start self.__started.wait() File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ threading.py", line 623, in wait self.__cond.release() File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ threading.py", line 370, in wait self._acquire_restore(saved_state) ######### ProcessID=25330, ThreadID=140735270236928 ######### File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ SimpleHTTPServer.py", line 224, in <module> test() File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
  4. File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/ python2.7/SimpleHTTPServer.py", line 224, in <module> test() File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/

    python2.7/SimpleHTTPServer.py", line 220, in test BaseHTTPServer.test(HandlerClass, ServerClass) File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/ python2.7/BaseHTTPServer.py", line 599, in test httpd.serve_forever() File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/ python2.7/SocketServer.py", line 236, in serve_forever poll_interval) File: "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/ python2.7/SocketServer.py", line 155, in _eintr_retry return func(*args) ############################################# Python 2.7.6 (default, Jan 2 2014, 23:15:13) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits" or "license" for more information. (ManholeConsole) >>>