diff lisp/progmodes/python.el @ 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 66e0d01014c6
children 454cfd5e9cc0
line wrap: on
line diff
--- 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[>)]+ "