Python 3 compatibility
Python 3 compatibility

filter() returns an iterator in Python 3, instead of a list, and the code crashes. I enclosed filter() inside a list() to make the program work in Python 3 too.
Nodd/spyder_line_profiler