In [1]: def f(): return f()
In [2]: f()
^CERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py", line 2862, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-2-0ec059b9bfe1>", line 1, in <module>
f()
File "<ipython-input-1-5101c95e76df>", line 1, in f
def f(): return f()
File "<ipython-input-1-5101c95e76df>", line 1, in f