]> git.eshelyaron.com Git - emacs.git/commit
Locate error source of ExceptionGroup in Python shell
authorshynur <one.last.kiss@outlook.com>
Fri, 3 May 2024 11:40:23 +0000 (19:40 +0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:38:46 +0000 (18:38 +0200)
commit8819c9a7f57a94d4fdc77275d89951098f6e3b91
treea491ee20c60ff78115c3e8b4e68817f80d2700d9
parenta2bd806fe4f02ede629e2579beef7e04b157b987
Locate error source of ExceptionGroup in Python shell

The Python shell recognizes the line containing a file path and
a line number when an exception is raised up to the top-level,
in order to locate the source of error.  It's supposed to
recognize the built-in ExceptionGroup as well.  (Bug#70653)
* lisp/progmodes/python.el (python-shell-compilation-regexp-alist):
Take the single leading vertical line into account.
* etc/NEWS: Announce this change.

(cherry picked from commit bfb31a06acadd5e819a3cb8dc6886122e53646f3)
etc/NEWS
lisp/progmodes/python.el