py-compute-indentation hits infinite loop on file with just a triple-quoted string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
High
|
Andreas Roehler |
Bug Description
I just downloaded and installed 6.0.1. I put
doctest-mode.el
highlight-
pycomplete.el
python-mode.el
into a dir on my load-path and byte compile them.
Then I start emacs, set debug-on-error to t, visit a new .py file, and type:
"""
hey
"""
RET
and on the RET, I get thrown into the debugger:
Debugger entered--Lisp error: (error "Variable binding depth exceeds max-specpdl-size")
py-compute-
py-compute-
;; about a hundred of these lines appear....
py-compute-
py-compute-
py-compute-
py-indent-line()
indent-
newline-
call-
M-x py-version shows 6.0.1, as expected.
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
importance: | Undecided → High |
status: | New → In Progress |
milestone: | none → 6.1 |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Hi Terry,
release is delivered, thanks for the report,
Andreas