An Emacs mode for editing Python code

Bogus dedent when typing colon in dictionary literal

Reported by Barry Warsaw on 2013-07-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Medium
Andreas Roehler

Bug Description

def foo():
    bar('thing',
        {'another'

Put point at the end of the last line and hit colon, as you would to separate the key from the value. The last line will incorrectly dedent to column 4. Indentation should not change.

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

Other bug subscribers