From b8280f393023247c6cb21e7546fc9edd891fb711 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 26 Feb 2010 19:19:50 -0500 Subject: [PATCH] Minor Python mode fix (Bug#5653). * progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow the characters _<> in the stack entry (Bug#5653). --- lisp/ChangeLog | 5 +++++ lisp/progmodes/python.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 434e3aab619..1eb01818750 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-02-27 Jeremy Whitlock (tiny change) + + * progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow + the characters _<> in the stack entry (Bug#5653). + 2010-02-26 Kenichi Handa * language/burmese.el: Fix entries in composition-function-table. diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a6354eff998..4e0f326e2d4 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -576,7 +576,7 @@ Currently-active file is at the head of the list.") (defvar python-pdbtrack-is-tracking-p nil) (defconst python-pdbtrack-stack-entry-regexp - "^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_]+\\)()" + "^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_<>]+\\)()" "Regular expression pdbtrack uses to find a stack trace entry.") (defconst python-pdbtrack-input-prompt "\n[(<]*[Pp]db[>)]+ " -- 2.39.5