Hi Barry, hi all, lp:1235375 revealed a thing, which might happen in other circumstances also.
Bug occurred when which-func-mode was on and a string-delimiter missing. In this case also indexing would fail. There might be more circumstances like that, it's not just about a missing string-fence, python-mode specific movements expect correct syntax. In order to avoid movement-related routines go crazy, introduced a `py-max-specpdl-size', default is `max-specpdl-size', py-end-of-statement will error if number of `py-max-specpdl-size' loops is completed, thus avoiding a hang from a possibly eternal loop. FYI, Andreas _______________________________________________ Python-mode mailing list Python-mode@python.org https://mail.python.org/mailman/listinfo/python-mode