An open API service indexing awesome lists of open source software.

https://github.com/dhellmann/whatthewhat

Launch a Google search for exceptions from Python apps
https://github.com/dhellmann/whatthewhat

Last synced: 11 months ago
JSON representation

Launch a Google search for exceptions from Python apps

Awesome Lists containing this project

README

          

.. -*- mode: rst -*-

==============
What the What?
==============

Launch a Google search for exceptions from Python apps.

::

$ wtw ./tester.py
Searching for: TypeError unhashable type: 'list'
Traceback (most recent call last):
File Users/dhellmann/Envs/whatthewhat/bin/wtw line 10, in
sys.exit(main())
File Users/dhellmann/Devel/whatthewhat/whatthewhat/main.py line 65, in main
sys.argv,
File Users/dhellmann/Devel/whatthewhat/whatthewhat/execfile.py line 120, in run_python_file
exec_code_object(code, main_mod.__dict__)
File exec_function> line 2, in exec_code_object
File /tester.py line 7, in
f()
File /tester.py line 5, in f
return {['a', 'b']: ['c', 'd']}
TypeError: unhashable type: 'list'

Inspired by
===========

.. image:: https://github.com/dhellmann/whatthewhat/blob/master/tweets.png