Using callable_iterator (re.finditer) causes Python to freeze I have a function that is called for every line of a text.