Open ghost opened 6 years ago
Thanks for reporting this.
I couldn't reproduce the bug with my config.
Could you check if it's happening without elpy-mode
activated ?
It seems more probable to be linked to python-mode or comint-mode...
Ok, obviously it has nothing to do with elpy. Emacs freezes after some times of getting RuntimeError: maximum recursion depth exceeded while getting the str of an object
.
Ok, it is still apparently an error linked to python.
A temporary workaround that may work is to increase the maximum recursion number:
import sys
sys.setrecursionlimit(10000) # or more...
But it should be a better idea to try to identify the piece of code that is recursing a bit too much.
This happens to me almost every time after i have broken an infinite loop in the Inferior Python with
C-c C-c
. The whole emacs will get unresponsive, the only way will bekillall emacs
from terminal! Maybe i can provide more information if it would be helpful.