[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58780: python.el infinite loop in info-current-defun
From: |
Eli Zaretskii |
Subject: |
bug#58780: python.el infinite loop in info-current-defun |
Date: |
Thu, 09 Mar 2023 12:16:37 +0200 |
> Date: Sun, 05 Mar 2023 17:19:43 +0900
> From: kobarity <kobarity@gmail.com>
>
> The attached
> 0001-Fix-searching-for-end-of-string-in-python-nav-end-of.patch is my
> proposal to fix this issue with some ERTs. `forward-sexp' (in fact
> `python-nav--lisp-forward-sexp') is added to search for the end of the
> string if the string begins with single single/double-quote (' or ").
>
> I think this 0001 patch also fixes Bug#56271. At least, it passes the
> ERT python-nav-end-of-block-2 which is introduced in Bug#56271, even
> the workaround introduced in Bug#56271 is reverted. The attached
> 0002-Revert-workaround-introduced-in-Bug-56271.patch is a patch to
> revert the workaround. If the 0001 patch is accepted, the 0002 patch
> can also be applied. But if we want to be safer, we can leave the
> workaround as it is by not applying the 0002 patch.
>
> I look forward to your comments.
There were no more comments, so I've now installed both patches on the
emacs-29 branch, and I'm boldly closing this bug.
Thanks.