# HG changeset patch # User Chong Yidong # Date 1267229990 18000 # Node ID 8953c1cd85689c2b569cac4afd29508b7ec1f5eb # Parent 149e318a8b2d23fe2f392a3f3748b874911af4b0 Minor Python mode fix (Bug#5653). * progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow the characters _<> in the stack entry (Bug#5653). diff -r 149e318a8b2d -r 8953c1cd8568 lisp/ChangeLog --- 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 (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 -r 149e318a8b2d -r 8953c1cd8568 lisp/progmodes/python.el --- 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[>)]+ "