py-find-next-exeption-prepare typo

Bug #913427 reported by Andreas Roehler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

Hi Andreas,

Thanks for the fix; it's much better. I think there is a small typo,
which was causing py-down-exception not to work (and also a setq as well
as a defvar for py-ipython-exception-line-re). Here's a diff against
bar revno 766:

$ bzr diff
=== modified file 'python-mode.el'
--- python-mode.el 2012-01-06 13:07:11 +0000
+++ python-mode.el 2012-01-07 21:01:52 +0000
@@ -891,7 +891,6 @@
 (defvar py-ipython-traceback-line-re
   "^\\([^ \t>]+>[^0-9]+\\)\\([0-9]+\\)"
   "Regular expression that describes tracebacks.")
-(setq py-ipython-traceback-line-re "^\\([^ \t>]+>[^0-9]+\\)\\([0-9]+\\)")

 (defconst py-assignment-re "\\<\\w+\\>[ \t]*\\(=\\|+=\\|*=\\|%=\\|&=\\|^=\\|<<=\\|-=\\|/=\\|**=\\||=\\|>>=\\|//=\\)"
   "If looking at the beginning of an assignment. ")
@@ -6050,7 +6049,7 @@
 BOTTOM), jump to the bottom (innermost) exception in the exception
 stack."
   (interactive "P")
- (py-find-next-exception-prepare 'down (when (eq 4 (prefix-numeric-value top)) "BOTTOM")))
+ (py-find-next-exception-prepare 'down (when (eq 4 (prefix-numeric-value bottom)) "BOTTOM")))

 (defun py-up-exception (&optional top)
   "Go to the previous line up in the traceback.

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.0.5
importance: Undecided → Medium
status: New → In Progress
Changed in python-mode:
status: In Progress → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.