GNU logs - #33979, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#33979: 26.1; python.el is not fully PEP 8 compliant for closing parens
Resent-From: Barry Warsaw <barry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 04 Jan 2019 20:49:02 +0000
Resent-Message-ID: <handler.33979.B.15466348959798 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 33979
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 33979 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15466348959798
          (code B ref -1); Fri, 04 Jan 2019 20:49:02 +0000
Received: (at submit) by debbugs.gnu.org; 4 Jan 2019 20:48:15 +0000
Received: from localhost ([127.0.0.1]:47070 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gfWO5-0002Xx-Pi
	for submit <at> debbugs.gnu.org; Fri, 04 Jan 2019 15:48:14 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41220)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <barry@HIDDEN>) id 1gfWO3-0002Xp-1X
 for submit <at> debbugs.gnu.org; Fri, 04 Jan 2019 15:48:11 -0500
Received: from lists.gnu.org ([208.118.235.17]:38910)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <barry@HIDDEN>) id 1gfWO2-0006xY-Om
 for submit <at> debbugs.gnu.org; Fri, 04 Jan 2019 15:48:10 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42590)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <barry@HIDDEN>) id 1gfWO1-0001Nv-PN
 for bug-gnu-emacs@HIDDEN; Fri, 04 Jan 2019 15:48:10 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <barry@HIDDEN>) id 1gfWNy-0006vG-Kq
 for bug-gnu-emacs@HIDDEN; Fri, 04 Jan 2019 15:48:09 -0500
Received: from mail.wooz.org ([216.15.33.194]:34702)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <barry@HIDDEN>) id 1gfWNy-0006tj-FJ
 for bug-gnu-emacs@HIDDEN; Fri, 04 Jan 2019 15:48:06 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.wooz.org (Postfix) with ESMTP id 8540D143130;
 Fri,  4 Jan 2019 15:48:04 -0500 (EST)
X-Virus-Scanned: Debian amavisd-new at mail.wooz.org
Received: from mail.wooz.org ([127.0.0.1])
 by localhost (mail.wooz.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id vF0N0bOtV-Ig; Fri,  4 Jan 2019 15:48:04 -0500 (EST)
Received: from resist.wooz.org (resist.wooz.org [192.168.11.57])
 by mail.wooz.org (Postfix) with ESMTPSA id 55D6F140364;
 Fri,  4 Jan 2019 15:48:03 -0500 (EST)
From: Barry Warsaw <barry@HIDDEN>
Content-Type: multipart/signed;
 boundary="Apple-Mail=_71721995-7F90-4C7F-8953-73B0753A3C06";
 protocol="application/pgp-signature"; micalg=pgp-sha256
X-Mao-Original-Outgoing-Id: 568327680.170019-8e236227a559f62402b83b292d6fc1f8
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Date: Fri, 4 Jan 2019 15:48:00 -0500
Message-Id: <F9DC50D3-5167-4E98-8067-461987F5F0AF@HIDDEN>
X-Mailer: Apple Mail (2.3445.102.3)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 216.15.33.194
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


--Apple-Mail=_71721995-7F90-4C7F-8953-73B0753A3C06
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I am spending some time playing with the default python.el to see where
it differs from the externally maintained python-mode.el.  AFAICT,
python.el does not fully support PEP 8 (the document, not the tool) for
the indentation of closing parentheses.

Given this code, typed contemporaneously:

NUMBERS =3D [
    (1, 2),
    (3, 4),
    (5, 6),
           ^----point

Now I hit RET and ]

NUMBERS =3D [
    (1, 2),
    (3, 4),
    (5, 6),
    ]
     ^----point

However, if I hit TAB at point, the closing bracket gets moved to column
0:

NUMBERS =3D [
    (1, 2),
    (3, 4),
    (5, 6),
]

While this style is PEP 8 compliant, so is this:

NUMBERS =3D [
    (1, 2),
    (3, 4),
    (5, 6),
    ]

i.e. with the closing brace lined up under the beginning of the last
line.  Quoting PEP 8:

> The closing brace/bracket/parenthesis on multiline constructs may
> either line up under the first non-whitespace character of the last
> line of list, as in: [EXAMPLES THAT LOOK LIKE WHAT I WANT]
> ...
> or it may be lined up under the first character of the line that
> starts the multiline construct, as in: [EXAMPLES THAT LOOK LIKE
> PYTHON.EL]

I've looked at python-indent--calculate-indentation in python.el and
AFAICT, there's no way to customize this behavior.  Thus, python.el
violates PEP 8.



In GNU Emacs 26.1 (build 1, x86_64-apple-darwin17.5.0, NS appkit-1561.40 =
Version 10.13.4 (Build 17E202))
of 2018-05-30 built on resist.local
Windowing system distributor 'Apple', version 10.3.1671
Recent messages:
Checking 24 files in =
/usr/local/Cellar/emacs/26.1_1/share/emacs/26.1/lisp/cedet...
Checking 57 files in =
/usr/local/Cellar/emacs/26.1_1/share/emacs/26.1/lisp/calendar...
Checking 87 files in =
/usr/local/Cellar/emacs/26.1_1/share/emacs/26.1/lisp/calc...
Checking 105 files in =
/usr/local/Cellar/emacs/26.1_1/share/emacs/26.1/lisp/obsolete...
Checking for load-path shadows...done
You can run the command =E2=80=98report-emacs-bug=E2=80=99 with M-x r-em =
RET
Checking for load-path shadows...done
previous-line: Beginning of buffer [8 times]
Quit [6 times]
report-emacs-bug-insert-to-mailer: Subject, To or body not found
Quit [2 times]
Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=3D/usr/local/share/emacs/site-lisp
--infodir=3D/usr/local/Cellar/emacs/26.1_1/share/info/emacs
--prefix=3D/usr/local/Cellar/emacs/26.1_1 --with-gnutls --without-x
--with-xml2 --without-dbus --without-imagemagick --with-ns
--disable-ns-self-contained'

Configured features:
JPEG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS THREADS

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Py

--Apple-Mail=_71721995-7F90-4C7F-8953-73B0753A3C06
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhBcVftvnPZ6sHlObEm61Y6dLBr8FAlwvxoAACgkQEm61Y6dL
Br/9TQ/+N7YNXYWWKovEtxAy3R9ghf7ST/BR2ILnYwqdG7FJ/rh4CARh+N9jklQb
v/EHhU9tlS2IHcGjNOCrFt2U/ERMbqKfrBwoFBjgMemFyasR19I60rtGcQbdBoSA
ZVil7TVD2fN2SYHdGJn0QQIqQnVy2yXF+Bu1jBR4y3SJGEoh2eUyOGUf/bRaDbrh
kNLPoPuAcjKkAWczYyWJCV77ctxBa4YNYl5Ydw2uOm7JWjgMNOE/7vHRBE6MLpYj
xK1TxmD/56nej5jUEHccZ5RyBOag81R+ck6wHq4fM6pb+Vf3ViPqfrJjw6GnWdfu
pm/UkPmzkwEF7ExFFKnqysZr5XCrE8qnnG0pOwe4teZYnfwLMlkGg7wFzllS/zko
3y3o0h421Jkb51a388u7S0rN+7MA8GzpPH6u7RdcWiZBgwsIqdTzmu2PEnMwnrVR
SMU9M9cVd8IfI8iUKAGs3TCeO0cz1ikpS343b/0PJGJPPyUF517RtAMjW7mOTwXG
po1gWXn4o2/KS1j0ajwS2/+6lDqupZ6deT7nxyWe1hdIFmZJRHHtN5kf9rGwgfhQ
Ukhzv+PGz9mpFAkY7VvMSt2jGk3964Fv6vWfwoZBYjCVkavv3MOcI9SgMQaM3B+B
w/LXHIal2KHbVgJXfuRcDSQdHTooHMDmZuFnJfAje5CyNE1lirA=
=+vUG
-----END PGP SIGNATURE-----

--Apple-Mail=_71721995-7F90-4C7F-8953-73B0753A3C06--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Barry Warsaw <barry@HIDDEN>
Subject: bug#33979: Acknowledgement (26.1; python.el is not fully PEP 8
 compliant for closing parens)
Message-ID: <handler.33979.B.15466348959798.ack <at> debbugs.gnu.org>
References: <F9DC50D3-5167-4E98-8067-461987F5F0AF@HIDDEN>
X-Gnu-PR-Message: ack 33979
X-Gnu-PR-Package: emacs
Reply-To: 33979 <at> debbugs.gnu.org
Date: Fri, 04 Jan 2019 20:49:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 33979 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
33979: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33979
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#33979: bug #33979; python.el is not fully PEP 8 compliant
References: <F9DC50D3-5167-4E98-8067-461987F5F0AF@HIDDEN>
In-Reply-To: <F9DC50D3-5167-4E98-8067-461987F5F0AF@HIDDEN>
Resent-From: Bhavin Gandhi <bhavin7392@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 05 Feb 2019 18:54:02 +0000
Resent-Message-ID: <handler.33979.B33979.154939282128598 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 33979
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 33979 <at> debbugs.gnu.org
Cc: barry@HIDDEN
Received: via spool by 33979-submit <at> debbugs.gnu.org id=B33979.154939282128598
          (code B ref 33979); Tue, 05 Feb 2019 18:54:02 +0000
Received: (at 33979) by debbugs.gnu.org; 5 Feb 2019 18:53:41 +0000
Received: from localhost ([127.0.0.1]:33758 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gr5qn-0007RC-FE
	for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 13:53:41 -0500
Received: from mail-pl1-f181.google.com ([209.85.214.181]:41823)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bhavin7392@HIDDEN>) id 1gr5ql-0007Qx-Bv
 for 33979 <at> debbugs.gnu.org; Tue, 05 Feb 2019 13:53:39 -0500
Received: by mail-pl1-f181.google.com with SMTP id k15so1887989pls.8
 for <33979 <at> debbugs.gnu.org>; Tue, 05 Feb 2019 10:53:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:cc:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=VG+BDowcvKErlKBx3lyz+Jd7e0awefv00jZUnWZBjQ8=;
 b=MlESKxFD0FXnsovFp6JLPp8hBX7hZcF7RzVSN2MV7ofTtnjrkwaREmv3Tn5mUx27Ur
 KpX6CD37Rs7EyMgozoRGR4MOfMc1y62YiTh8fcBXLnJ/s5XZ+ra6NTcEN6n/mu8aLLl5
 8rTula2gb/J5N7KiesMtF9btPHUHn3QzaXJxwMvw3CnGY/w1jd1zRr0WFbntmomr4BS0
 rn1ESuIuLb4z0POkJdyiegjErGe6ST/ByPGu9nm9nL/+nKeXXo8LPvX31o8uz1HeSunC
 oRwgVEjcnHV5d40Yz7Jc6rmib806P/S+71jOxDpFM9WySQv12CmPinMGmcU8yRWJEUMS
 woWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:cc:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=VG+BDowcvKErlKBx3lyz+Jd7e0awefv00jZUnWZBjQ8=;
 b=KRSTV105qwjAVHd3dZh1JXVlGvX+29o1oYh4m2a07HwRzXRreEcE7YhBD4ueaKif2u
 K4QQn/JvYHyeb10dUi6n7KfKF7LP2H+RgQvSSWrWocCVCxrqlp3p6xw2HC1xhvNRrsdB
 ikeUxA9B0cXqUyl0yFdPLdtAUhFmqm0REyMIOllPvFsBeIrg2gfKqYsldDLKCq7FPTlW
 Y7NrIWrr5BGeAkqlb4bOeGwUkwrZSgqCWH0Z4fPqzgWTbH4wF/ANUnbja7wdaIbSY2jd
 xoAgQoAGxMMXJVly+Phf63dyblx+qvjmUQhbOeQXGeGHs06yILphHjgJxTUXnj4cWsuY
 FqYg==
X-Gm-Message-State: AHQUAuZv8BcF7to0Ey8yUXuFaDc8cHcF035IfwY1O3+0bHv+MyJgPcdu
 7YUZEsnRyZgpVjezCcaTa7I=
X-Google-Smtp-Source: AHgI3IbfpMi9bJb2S4eWjWQYjU2fJNEsalZAo4aNAUZHn+o6GM/HXrm9kRV7yGZ70Jl9l/7C+/IM/Q==
X-Received: by 2002:a17:902:282a:: with SMTP id
 e39mr6623580plb.26.1549392813097; 
 Tue, 05 Feb 2019 10:53:33 -0800 (PST)
Received: from localhost.localdomain ([123.201.52.143])
 by smtp.gmail.com with ESMTPSA id y71sm8807940pfi.123.2019.02.05.10.53.31
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 05 Feb 2019 10:53:32 -0800 (PST)
From: Bhavin Gandhi <bhavin7392@HIDDEN>
Message-ID: <eda79952-e1f4-fa52-7963-22d6f19e32f5@HIDDEN>
Date: Wed, 6 Feb 2019 00:23:30 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

> I've looked at python-indent--calculate-indentation in python.el and
> AFAICT, there's no way to customize this behavior.  Thus, python.el
> violates PEP 8.

Just trying to understand this. The Python code one will type with 
python.el will still be PEP8 compliant (correct me if I'm wrong). But 
the python.el does violate PEP8 because it does not provide way to 
customize this indentation behavior for closing brackets, right?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#33979: bug #33979; python.el is not fully PEP 8 compliant
Resent-From: Barry Warsaw <barry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 05 Feb 2019 22:32:01 +0000
Resent-Message-ID: <handler.33979.B33979.154940587816519 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 33979
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Bhavin Gandhi <bhavin7392@HIDDEN>
Cc: 33979 <at> debbugs.gnu.org
Received: via spool by 33979-submit <at> debbugs.gnu.org id=B33979.154940587816519
          (code B ref 33979); Tue, 05 Feb 2019 22:32:01 +0000
Received: (at 33979) by debbugs.gnu.org; 5 Feb 2019 22:31:18 +0000
Received: from localhost ([127.0.0.1]:33828 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gr9FO-0004IN-H9
	for submit <at> debbugs.gnu.org; Tue, 05 Feb 2019 17:31:18 -0500
Received: from mail.wooz.org ([216.15.33.194]:46860)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <barry@HIDDEN>) id 1gr9FN-0004I9-4c
 for 33979 <at> debbugs.gnu.org; Tue, 05 Feb 2019 17:31:17 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.wooz.org (Postfix) with ESMTP id 2E0C1142FDB;
 Tue,  5 Feb 2019 17:31:11 -0500 (EST)
X-Virus-Scanned: Debian amavisd-new at mail.wooz.org
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 tagged_above=-9999 required=6
 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.wooz.org ([127.0.0.1])
 by localhost (mail.wooz.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id u6g1nE29-PME; Tue,  5 Feb 2019 17:31:11 -0500 (EST)
Received: from [100.64.11.67] (unknown [216.52.21.130])
 by mail.wooz.org (Postfix) with ESMTPSA id B4384140B2C;
 Tue,  5 Feb 2019 17:31:10 -0500 (EST)
Content-Type: multipart/signed;
 boundary="Apple-Mail=_07B1C682-850F-4FDF-9914-46D2ACA993D3";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
From: Barry Warsaw <barry@HIDDEN>
In-Reply-To: <eda79952-e1f4-fa52-7963-22d6f19e32f5@HIDDEN>
Date: Tue, 5 Feb 2019 14:31:05 -0800
X-Mao-Original-Outgoing-Id: 571098665.604257-528eaa4f6ca42b212f7d61d8e0e91213
Message-Id: <0B8D3A40-7D50-4CBF-821E-D674EF7C554D@HIDDEN>
References: <eda79952-e1f4-fa52-7963-22d6f19e32f5@HIDDEN>
X-Mailer: Apple Mail (2.3445.102.3)
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--Apple-Mail=_07B1C682-850F-4FDF-9914-46D2ACA993D3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On Feb 5, 2019, at 10:53, Bhavin Gandhi <bhavin7392@HIDDEN> wrote:
>=20
>> I've looked at python-indent--calculate-indentation in python.el and
>> AFAICT, there's no way to customize this behavior.  Thus, python.el
>> violates PEP 8.
>=20
> Just trying to understand this. The Python code one will type with =
python.el will still be PEP8 compliant (correct me if I'm wrong). But =
the python.el does violate PEP8 because it does not provide way to =
customize this indentation behavior for closing brackets, right?

Correct!  Thanks for your consideration.


--Apple-Mail=_07B1C682-850F-4FDF-9914-46D2ACA993D3
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhBcVftvnPZ6sHlObEm61Y6dLBr8FAlxaDqkACgkQEm61Y6dL
Br+beg//Zcw/LZXN8ObRRpRZX7GItRPA3cpX/b8mCTBJsbkUlmnfWeWyeXIV0oEX
cUa2sl0ZuOf4EhNBt5tuplTuloXRA1pKn6vlJvskuCas+KC//ibgpiQ5nFjcxcoQ
j+LHx16v8d6VPR9skvIxWS7dkkawrBAinBcMtdjqiVb131dycGfCm+m2Ln97uNgq
G4WXkGhhZUnAYWt70yQZKpnnL48FjmknWaXGsWipC3y9U5LnNbqVmtihjEmzmGY5
v3sxNDDSdH/wL2/akYe5qLCKLV0ycdeyNEjTMisPOQaGW/xX6PS2i9zTb/Ktm6W0
i3ZEhWpfaQiHXgAtjIuqltP2lcw3UwVczpHgcnbXGEk0vht0czxMOGVth9Prn+26
9v+S8oObHSORbyld6oHaE3b9oVEetXsi028uk8JOS0Mz7r4hl2GVeAOoDHtsCdtT
If8MXXfrtk/8UInVUZWQ8rjHMMGQQKL7RXOhZwcjuRKpaTFlLqQywBLNMgjC+WbA
CwLdANMrM2v2lRvZM0e6gnGDte0p5w7qdzwrzevngywxsZNbUwM3nC45aVtMpREe
FAyHOX3PNhMPDBmp7bOp712+Aw/SiSMATV5sNx0TffAdDgGLQzgCDK5UxYAyyand
0Eph3N1Q/6Lx3H54AFzLmToK3yY+oAn0ROK5/HBCvh9V7Q091mw=
=51B/
-----END PGP SIGNATURE-----

--Apple-Mail=_07B1C682-850F-4FDF-9914-46D2ACA993D3--




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 6 Feb 2019 05:04:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 06 00:04:34 2019
Received: from localhost ([127.0.0.1]:33934 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1grFNy-000382-Fo
	for submit <at> debbugs.gnu.org; Wed, 06 Feb 2019 00:04:34 -0500
Received: from mail-pg1-f175.google.com ([209.85.215.175]:44338)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bhavin7392@HIDDEN>) id 1grFNv-00037m-Qn
 for control <at> debbugs.gnu.org; Wed, 06 Feb 2019 00:04:32 -0500
Received: by mail-pg1-f175.google.com with SMTP id y1so2397801pgk.11
 for <control <at> debbugs.gnu.org>; Tue, 05 Feb 2019 21:04:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=tv5RDCHm3RfZlg+OFTaeQkZw65i1MmCjk45fnSfBsco=;
 b=MSx+Tz9OdVma2jJd0rNpgtnXNcivl1tCegDKXJx8DCaXasr9m246ZRlGGy0v9TeJm/
 4iX2QGGRnVg+z0814wOfD8DYWmtXWf+xWfliwhNPl9NmsZzaAyT3w1zeWW5WjicZ9h5O
 srkXS8DT5IFToD8SJQ65DKZJVdoKaBIA11DhomtQpvv65m+otetDYh4urZy27WspdmT3
 O9yuurO6UxMcMG7k7Q7Y5IplNntEBgulCw5tV17k66ci4OXJQVTaJG1S2PSQrVWBFe7f
 JHAJviGo4E2K7/O+DW5HYeRYS2oohKVPO+00LCcnVjVDNw8SPrXhocPlBcANMHtlYY18
 84zg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=tv5RDCHm3RfZlg+OFTaeQkZw65i1MmCjk45fnSfBsco=;
 b=oYGt57T7dTfPnIHZzYmmYyhSHYLgesaOi8WmVjWNuRw+FW0ttZyCLCR6f8qlInuKsl
 UACv9Q57AsHxkneyaUbJKB+tcz46CVC2o8OB/NMHOBWunt0OnMYsr6YLxFV0UOD8cn4e
 fhloWnQzOcTQxCfsttzbGtKm5CnNZG2V3UnFlEeMBBj4p10eZ/BTpUfl7zUjcVdI+CPb
 /65pszF/FQV/s35nnT1IhPZdvt8Q6PJMvSPsXxl6B7TJxm6kux2x5AjtbfGNCw6Ava7b
 k9YJP0QhaY+OZg9wbPSq43oyBOKBu7dN9RWRFlrd9eYVNX7tPtgRJJQWLlrRMVslBIHt
 murw==
X-Gm-Message-State: AHQUAubv0HS5xEx4UtHvLiO6pssCUp+ng7lLZ/Qkdjc+sAainlm2m8nc
 XjkATc1znBSgLTq18pt5WG1Kn77l
X-Google-Smtp-Source: AHgI3IYWyb3cyUM6fkJjngCTLCRMC0m2XOrQu/9/CmEsLx3zTH6uJBcdK+H3I2zMlxfDBf9yYdaS4w==
X-Received: by 2002:a63:e950:: with SMTP id q16mr7977120pgj.138.1549429465446; 
 Tue, 05 Feb 2019 21:04:25 -0800 (PST)
Received: from localhost.localdomain ([114.143.30.174])
 by smtp.gmail.com with ESMTPSA id x11sm11926169pfe.72.2019.02.05.21.04.23
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 05 Feb 2019 21:04:24 -0800 (PST)
To: control <at> debbugs.gnu.org
From: Bhavin Gandhi <bhavin7392@HIDDEN>
Subject: control message for #33979
Message-ID: <a440e06b-6c98-8543-b1e6-b51008d4fb3e@HIDDEN>
Date: Wed, 6 Feb 2019 10:34:22 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

tags 33979 confirmed
severity 33979 wishlist
quit

Tagging as a feature request as the code one would type with python.el 
will still be PEP8 compliant as well as will be syntactically correct.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 6 Feb 2019 05:04:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 06 00:04:34 2019
Received: from localhost ([127.0.0.1]:33934 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1grFNy-000382-Fo
	for submit <at> debbugs.gnu.org; Wed, 06 Feb 2019 00:04:34 -0500
Received: from mail-pg1-f175.google.com ([209.85.215.175]:44338)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bhavin7392@HIDDEN>) id 1grFNv-00037m-Qn
 for control <at> debbugs.gnu.org; Wed, 06 Feb 2019 00:04:32 -0500
Received: by mail-pg1-f175.google.com with SMTP id y1so2397801pgk.11
 for <control <at> debbugs.gnu.org>; Tue, 05 Feb 2019 21:04:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=tv5RDCHm3RfZlg+OFTaeQkZw65i1MmCjk45fnSfBsco=;
 b=MSx+Tz9OdVma2jJd0rNpgtnXNcivl1tCegDKXJx8DCaXasr9m246ZRlGGy0v9TeJm/
 4iX2QGGRnVg+z0814wOfD8DYWmtXWf+xWfliwhNPl9NmsZzaAyT3w1zeWW5WjicZ9h5O
 srkXS8DT5IFToD8SJQ65DKZJVdoKaBIA11DhomtQpvv65m+otetDYh4urZy27WspdmT3
 O9yuurO6UxMcMG7k7Q7Y5IplNntEBgulCw5tV17k66ci4OXJQVTaJG1S2PSQrVWBFe7f
 JHAJviGo4E2K7/O+DW5HYeRYS2oohKVPO+00LCcnVjVDNw8SPrXhocPlBcANMHtlYY18
 84zg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=tv5RDCHm3RfZlg+OFTaeQkZw65i1MmCjk45fnSfBsco=;
 b=oYGt57T7dTfPnIHZzYmmYyhSHYLgesaOi8WmVjWNuRw+FW0ttZyCLCR6f8qlInuKsl
 UACv9Q57AsHxkneyaUbJKB+tcz46CVC2o8OB/NMHOBWunt0OnMYsr6YLxFV0UOD8cn4e
 fhloWnQzOcTQxCfsttzbGtKm5CnNZG2V3UnFlEeMBBj4p10eZ/BTpUfl7zUjcVdI+CPb
 /65pszF/FQV/s35nnT1IhPZdvt8Q6PJMvSPsXxl6B7TJxm6kux2x5AjtbfGNCw6Ava7b
 k9YJP0QhaY+OZg9wbPSq43oyBOKBu7dN9RWRFlrd9eYVNX7tPtgRJJQWLlrRMVslBIHt
 murw==
X-Gm-Message-State: AHQUAubv0HS5xEx4UtHvLiO6pssCUp+ng7lLZ/Qkdjc+sAainlm2m8nc
 XjkATc1znBSgLTq18pt5WG1Kn77l
X-Google-Smtp-Source: AHgI3IYWyb3cyUM6fkJjngCTLCRMC0m2XOrQu/9/CmEsLx3zTH6uJBcdK+H3I2zMlxfDBf9yYdaS4w==
X-Received: by 2002:a63:e950:: with SMTP id q16mr7977120pgj.138.1549429465446; 
 Tue, 05 Feb 2019 21:04:25 -0800 (PST)
Received: from localhost.localdomain ([114.143.30.174])
 by smtp.gmail.com with ESMTPSA id x11sm11926169pfe.72.2019.02.05.21.04.23
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 05 Feb 2019 21:04:24 -0800 (PST)
To: control <at> debbugs.gnu.org
From: Bhavin Gandhi <bhavin7392@HIDDEN>
Subject: control message for #33979
Message-ID: <a440e06b-6c98-8543-b1e6-b51008d4fb3e@HIDDEN>
Date: Wed, 6 Feb 2019 10:34:22 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

tags 33979 confirmed
severity 33979 wishlist
quit

Tagging as a feature request as the code one would type with python.el 
will still be PEP8 compliant as well as will be syntactically correct.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 20 Apr 2019 20:58:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 16:58:47 2019
Received: from localhost ([127.0.0.1]:46865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hHx4Q-0006gf-Dz
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 16:58:47 -0400
Received: from mail-qk1-f170.google.com ([209.85.222.170]:46432)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1hHx4O-0006gM-DK; Sat, 20 Apr 2019 16:58:45 -0400
Received: by mail-qk1-f170.google.com with SMTP id w73so2418018qkb.13;
 Sat, 20 Apr 2019 13:58:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=rOkax71soJsVa/zbc4JmCRuFVirc1U2iiw7j1dk2FF4=;
 b=mHdtPEeBoNqRU32hSx3xV0xKXIFrbF+4HPRm1Bf31Zrv4y54fl976gpLe7nCUTMuqF
 4GKSGuiHq4QVXzy126ty2Rs4SM2ovaMA1DYto+mAi9Ma4IkPv5bodzJQZ9hNg4OWCqiZ
 fFvmxqoC2AtquKMYgpRVCnV65UXTEI7iQcRuQ3T42WbvyQKqNvQOsedwzNHXESlqhCqY
 FWtMEED+PcNn9vsCWeUy/KORGiLsKh7rPW+BH0kHCw87OIYJqjsOUy3dOxUkAEuk3/XK
 /bv7zloID+igVd5GMAqVODiUb3VPf2b73fOoPPsjlTKr2QnQkxgSuCubeomqZl94C7EJ
 4eag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=rOkax71soJsVa/zbc4JmCRuFVirc1U2iiw7j1dk2FF4=;
 b=Jap9lGm38A3nMjhmRshwkW9t7euwo0xPyiiFifxahHw/KkmojW+8ZV5udOQOYlplqx
 C3wnNIB8mlu9xMviQraQTsDmD7Tr1S7ficWqwswbZEkgwZBsGwWQ2EtkVEKJGcG3r8xu
 qN5upi4959lnK5GTxYO6Auhkn4DLj/xXxdFyIMflK9OmDt73IRtCpxtwwoe57/vWhDvA
 M3TWnmmXU+/bx2Qx8i85Hqnqa4gDPT838IagT3lpqR7n5zJwu/neN7fzWug3AdBv6Wlb
 DlMh+s9ZQanz0qGWZ9LmJ2hew/Lcy6zU8ODxcEk5r0/A0X0m0YxX+4nAZ1oDUKt1CHGO
 T04Q==
X-Gm-Message-State: APjAAAUjmbWoLp8+e+FLoW2YZNhPGXixEbSnSEAj2npIIaEStw4kSdlc
 y8zmoKATSrJ6BNgre/YAV6j+GTn/
X-Google-Smtp-Source: APXvYqwTZgTTKL/DmvhvK7xNOrfzSj8euKp/XNFk2rjerusp3sfDCqqO5nRt8xN1kEAIIti8vwMl2A==
X-Received: by 2002:a05:620a:1438:: with SMTP id
 k24mr8369372qkj.165.1555793918747; 
 Sat, 20 Apr 2019 13:58:38 -0700 (PDT)
Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 s30sm4027832qkm.43.2019.04.20.13.58.37
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 20 Apr 2019 13:58:38 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#20560: 24.5;
 I am not happy with the new Python mode indentation behaviour
References: <5551D233.1090202@HIDDEN> <mnwq0dzsoh.fsf@HIDDEN>
Date: Sat, 20 Apr 2019 16:58:37 -0400
In-Reply-To: <mnwq0dzsoh.fsf@HIDDEN> (Glenn Morris's message of
 "Tue, 12 May 2015 12:06:38 -0400")
Message-ID: <87pnpgtmv6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
Cc: Fabrice Salvaire <fabrice.salvaire@HIDDEN>, 20560 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

# patch for 20742 doesn't help for 20560
unmerge 20560
forcemerge 33979 20560
quit

Glenn Morris <rgm@HIDDEN> writes:

> Fabrice Salvaire wrote:
>
>> my_list = [
>> ____1, 2, 3,
>> ____4, 5, 6,
>> ]
>
> When I type that, I get an error, so perhaps it is not intended:
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   =(nil 5)
>   python-syntax-closing-paren-p()
>   (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss))))))
>   (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start)))
>   (save-excursion (skip-syntax-forward " ") (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start))))

I'm not getting this anymore, perhaps it's been fixed in the meantime
(I've tested only in 25.3 and 26.2, I don't have 24.5 building at the
moment).

At any rate, the OP seems to be the same as 33979 (though different from
20742 which it was previously merged to).




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 20 Apr 2019 21:07:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 17:07:05 2019
Received: from localhost ([127.0.0.1]:46881 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hHxCS-0000YE-W6
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 17:07:05 -0400
Received: from mail-qk1-f179.google.com ([209.85.222.179]:46629)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1hHxCQ-0000Xk-Rg
 for control <at> debbugs.gnu.org; Sat, 20 Apr 2019 17:07:03 -0400
Received: by mail-qk1-f179.google.com with SMTP id w73so2424034qkb.13
 for <control <at> debbugs.gnu.org>; Sat, 20 Apr 2019 14:07:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=pQHNL4qrRsMl1g4VhvEy88EhHCzSqdFn46cUIDGalgk=;
 b=OfH7tAVCBmSHr4uywyOgRe4XSGruMEmiXU1RMhxXMqfKpIYoutPkXOf4Flq8vQGwAV
 egJIwNS2+cMy1nqdQcHtV6T2i1CBHmvAgjysTu3S4hGeb0Vv0+d+lc+rUiqeqm0ZJeVE
 lSG5Ktp0aHrsLqHxbYAU9I3m26ZRTP2MbD3qiMoxO/K3MBVgHDAYgXfb43OyS6Y5sPYN
 xnF8beKqABK8Xkg2q/fcjv+L7HFfsmSf2D9h3o+CZCWoQ5ZqjHkLS49vCo/P8jxeXseo
 ejciwPppRbDS7xKGMi+Ve8idcfg95P9hcTr5F0U7cv5LGc7UbHrSRQ2l+K6ri64dBphF
 tPBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=pQHNL4qrRsMl1g4VhvEy88EhHCzSqdFn46cUIDGalgk=;
 b=LTU0tUgk3gBrXZo2U4FuWlBC1jsMWheT+XT/jR86x5tJCSQI/1vmGbYw+XRlPhWpNB
 PQf0Pm7o3WEU7pYu1vwKjUoGItR8DJXvzfZgB3l39SEIBFtf1NqAW72wI+66jZ4fMg2U
 g4IYnZJ6pz8I0qLW5Z0PEx61G4IWu1+pSZitY77oMN7QK/Y5Y4WqPXXqo96a7CPkrsOM
 teoftQ0V1qxC6oWI+THd5E0YjpZfU7caLkosHPM7AskbEz2+66x19JjYSUiDVFvo0l+3
 hTlwoN22Cz2CatxnnuvIerZDc+1mhDuWilyl6uGDOFrTFcdjiUsFuFBQx/t/vnCjHqSm
 cIsg==
X-Gm-Message-State: APjAAAVZo59avnL+kVNv2sJUwXotrS6Q3EGAqBN/Jx35vIFR7qE5adAy
 2zgSwjUCzpAHwGVI5LdhxRc4bQIc
X-Google-Smtp-Source: APXvYqx5DANPQ1YOwuPyf+0odFJt/qFXVeNGfE589s0IqkJhmT1moGHaBWpero5oHWYGyZqZ52yVJg==
X-Received: by 2002:ae9:e007:: with SMTP id m7mr8710103qkk.248.1555794417302; 
 Sat, 20 Apr 2019 14:06:57 -0700 (PDT)
Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 u57sm5558788qta.12.2019.04.20.14.06.56 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 20 Apr 2019 14:06:56 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #33979
Date: Sat, 20 Apr 2019 17:06:55 -0400
Message-ID: <87o950tmhc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

# I accidentally tagged with patch by merges
tags 33979 - patch
quit





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 17 Sep 2020 18:59:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 17 14:59:19 2020
Received: from localhost ([127.0.0.1]:39066 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kIz7n-0007j0-BM
	for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 14:59:19 -0400
Received: from quimby.gnus.org ([95.216.78.240]:44656)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kIz7l-0007iX-GS
 for control <at> debbugs.gnu.org; Thu, 17 Sep 2020 14:59:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=BZS05FsPnjnQgQKOfDlhYV/HQ6d1kuTZlMN9KF0EeKs=; b=CPBFE+q0LtNyIxQacYi6sH5Aqy
 3KCTneimvAnVoAx14EduGBolAtVOWxRY1uyHeGh+uizqnyIb7HvyNPDKCICLUrfsIEs4zrDTSMRsJ
 KgHUm4H9L5+PVPfBG/Zm8Kj3o7gOTNeEutFGuL0vNMa1eWE4e5KFT37YqPY7JUw+tFuU=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1kIz7d-0003qv-Nr
 for control <at> debbugs.gnu.org; Thu, 17 Sep 2020 20:59:11 +0200
Date: Thu, 17 Sep 2020 20:59:08 +0200
Message-Id: <87pn6kkz5v.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #20560
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  close 20560 quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

close 20560 
quit





Message received at fakecontrol@fakecontrolmessage:


Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control <at> debbugs.gnu.org
From: Debbugs Internal Request <help-debbugs@HIDDEN>
Subject: Internal Control
Message-Id: Did not alter fixed versions and reopened.
Date: Fri, 18 Sep 2020 11:12:02 +0000
User-Agent: Fakemail v42.6.9

# This is a fake control message.
#
# The action:
# Did not alter fixed versions and reopened.
thanks
# This fakemail brought to you by your local debbugs
# administrator



Last modified: Fri, 18 Sep 2020 11:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.