changeset 107240:8953c1cd8568

Minor Python mode fix (Bug#5653). * progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow the characters _<> in the stack entry (Bug#5653).
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 26 Feb 2010 19:19:50 -0500
parents 149e318a8b2d
children c7ed9615fb56 a8944be1e493
files lisp/ChangeLog lisp/progmodes/python.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Feb 26 21:45:47 2010 +0900
+++ b/lisp/ChangeLog	Fri Feb 26 19:19:50 2010 -0500
@@ -1,3 +1,8 @@
+2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
+
+	* progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow
+	the characters _<> in the stack entry (Bug#5653).
+
 2010-02-26  Kenichi Handa  <handa@m17n.org>
 
 	* language/burmese.el: Fix entries in composition-function-table.
--- a/lisp/progmodes/python.el	Fri Feb 26 21:45:47 2010 +0900
+++ b/lisp/progmodes/python.el	Fri Feb 26 19:19:50 2010 -0500
@@ -576,7 +576,7 @@
 (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[>)]+ "