Subject: bug#70653: #70653 PATCH here

From: Eli Zaretskii <[email-masked]>
Date: Thu, 02 May 2024 12:28:49 +0300

> From: ". shynur" <[email-masked]>
> Date: Mon, 29 Apr 2024 16:31:00 +0000
> 
> From 2621fd2bf52ea73dbb0b17701cda87a856ef6096 Mon Sep 17 00:00:00 2001
> From: shynur <[email-masked]>
> Date: Tue, 30 Apr 2024 00:08:06 +0800
> Subject: [PATCH] Locate source for ExceptionGroup
> 
> ---
>  lisp/progmodes/python.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
> index d6c29e5ffc6..3f72295c808 100644
> --- a/lisp/progmodes/python.el
> +++ b/lisp/progmodes/python.el
> @@ -2854,7 +2854,7 @@ virtualenv."
>    :type '(repeat symbol))
>  
>  (defcustom python-shell-compilation-regexp-alist
> -  `((,(rx line-start (1+ (any " \t")) "File \""
> +  `((,(rx line-start (1+ (any " \t")) (? ?| (1+ (any " \t"))) "File \""
>            (group (1+ (not (any "\"<")))) ; avoid `<stdin>' &c
>            "\", line " (group (1+ digit)))
>       1 2)
> -- 
> 2.43.0

Any comments on this proposal?

I have one minor comment: please accompany the change with the
ChangeLog-style commit log message, per the description in CONTRIBUTE.
A more detailed description of the motivation and rationale for this
patch will also be appreciated.

Thanks.