Missing indent inside if

Bug #1550880 reported by Andreas Roehler on 2016-02-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Undecided
Unassigned

Bug Description

http://stackoverflow.com/questions/35677648/why-does-this-line-of-python-break-emacs-python-mode-indentation

for statement in statements:
    speakerAndSpeech = findSpeaker(statement)
    speaker = speakerAndSpeech[0]
    speech = speakerAndSepech[1]
    ## Everything above the below line indents correctly, like this
    self.statements.append(createStatement(statements.index(statement), speech, speaker, self.meeting["id"])
    ## Everything below the above line indents out here

if __name__ == '__main__':

Andreas Roehler (a-roehler) wrote :

Not a bug: missing paren at last line.

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

Other bug subscribers