From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bhavin Gandhi Newsgroups: gmane.emacs.bugs Subject: bug#33979: bug #33979; python.el is not fully PEP 8 compliant Date: Wed, 6 Feb 2019 00:23:30 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="15491"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 Cc: barry@python.org To: 33979@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 05 21:00:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gr6t9-0003s4-Od for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Feb 2019 21:00:11 +0100 Original-Received: from localhost ([127.0.0.1]:39487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr6t8-00048k-IN for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Feb 2019 15:00:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr5rA-0008UM-9N for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 13:54:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gr5r8-0006K5-EJ for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 13:54:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34477) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gr5r8-0006IS-7W for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 13:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gr5r8-0007Ro-4q for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 13:54:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Bhavin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Feb 2019 18:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33979 X-GNU-PR-Package: emacs Original-Received: via spool by 33979-submit@debbugs.gnu.org id=B33979.154939282128598 (code B ref 33979); Tue, 05 Feb 2019 18:54:02 +0000 Original-Received: (at 33979) by debbugs.gnu.org; 5 Feb 2019 18:53:41 +0000 Original-Received: from localhost ([127.0.0.1]:33758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gr5qn-0007RC-FE for submit@debbugs.gnu.org; Tue, 05 Feb 2019 13:53:41 -0500 Original-Received: from mail-pl1-f181.google.com ([209.85.214.181]:41823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gr5ql-0007Qx-Bv for 33979@debbugs.gnu.org; Tue, 05 Feb 2019 13:53:39 -0500 Original-Received: by mail-pl1-f181.google.com with SMTP id k15so1887989pls.8 for <33979@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) Original-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) Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155150 Archived-At: > 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?