Second comment line sometimes outdents incorrectly
Bug #1922399 reported by
Ted Schroeder
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
New
|
Undecided
|
Unassigned |
Bug Description
Using python-mode.el V 6.2.3 (installed using the ELPA/MELPA package installer) hitting tab on the second comment line outdents, but I don't think it should.
def addProductToSho
try:
a = sample
except NoResultFound as e:
return False
# comment 1
# comment 2
# comment 3
return True
To post a comment you must log in.
Thanks for the report.
Please note all development moved to GitLab.
Would you mind to file the report there again?
https:/ /gitlab. com/python- mode-devs/ python- mode/-/ issues
Will have a look anyway.
On 03.04.21 02:29, Ted Schroeder wrote: pify(sample)
> Public bug reported:
>
> Using python-mode.el V 6.2.3 (installed using the ELPA/MELPA package
> installer) hitting tab on the second comment line outdents, but I don't
> think it should.
>
> def addProductToSho
> try:
> a = sample
> except NoResultFound as e:
> return False
>
> # comment 1
> # comment 2
> # comment 3
> return True
>
> ** Affects: python-mode
> Importance: Undecided
> Status: New
>