wrong indent after asignment

Bug #1087404 reported by Andreas Roehler
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

Hi:

I am observing an unusual behavior of the code indentation after a assigning a list to a variable. The following code illustrates the issue:

a = 1
# After pressing enter, next line starts at column 1, as expected
b = [1]
    # After pressing enter, next line starts at column 4

I'm using the last revision of python-mode.

Is there any explanation for this behavior?

Alejandro

Changed in python-mode:
milestone: none → 6.1.1
assignee: nobody → Andreas Roehler (a-roehler)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Andreas Roehler (a-roehler) wrote :

Thanks for the report. Please try again.

Changed in python-mode:
status: Confirmed → Fix Committed
Revision history for this message
Alejandro Weinstein (alejandro-weinstein) wrote :

It's working now.

Thanks for fixing this!

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.