From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Doug Davis Newsgroups: gmane.emacs.bugs Subject: bug#45679: 28.0.50; python-mode variable font locking is inconsistent Date: Sun, 28 Feb 2021 19:47:31 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10872"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) To: 45679@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 01 01:48:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGWjM-0002hZ-Or for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Mar 2021 01:48:13 +0100 Original-Received: from localhost ([::1]:47450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGWjL-0005Om-A5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Feb 2021 19:48:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGWjC-0005OZ-RF for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2021 19:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGWjC-0001ey-KA for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2021 19:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lGWjC-0007y8-IF for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2021 19:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Doug Davis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Mar 2021 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45679 X-GNU-PR-Package: emacs Original-Received: via spool by 45679-submit@debbugs.gnu.org id=B45679.161455966630610 (code B ref 45679); Mon, 01 Mar 2021 00:48:02 +0000 Original-Received: (at 45679) by debbugs.gnu.org; 1 Mar 2021 00:47:46 +0000 Original-Received: from localhost ([127.0.0.1]:47577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGWiw-0007xe-DI for submit@debbugs.gnu.org; Sun, 28 Feb 2021 19:47:46 -0500 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGWiq-0007xM-8z for 45679@debbugs.gnu.org; Sun, 28 Feb 2021 19:47:44 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 937246F4 for <45679@debbugs.gnu.org>; Sun, 28 Feb 2021 19:47:33 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 28 Feb 2021 19:47:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddavis.io; h= from:to:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=fm1; bh=BLxD1hG7lRvur/L6svrr1TcdOH BbsXMPCrINlR28QtE=; b=wSP+H7pGy1F7m4hgNX4Nr4s+KRYdxpL+3YvmwCE5vn aFZPyo4Ja5rluinp7f2PfIpyyYnQXpsfHUOcV5bcqVgrRkC/Rlx1lZrQNWO5Yv+A UmxnYhW203Z4WA3/XHMl6nbaCpwmYA6MHVJURDVWvUYK5b1xzS0aDG+aVLX91Ejs epnSx3mOKRfRYqOLsnEu7JXymFTQqc0rv1eaKtLmKxrKL0tjeHuDEUF9SP5Ve+5+ pcbMmbYmop8hFPFXENVtuH/0xFTa4qd7DNmWw0QgZmVlzhb8CIX/3ubKmvcCag1Y aDd63GV9ZutMehxF+pTqmGxg3YrSAEAmw/BBYQhYcTxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=BLxD1h G7lRvur/L6svrr1TcdOHBbsXMPCrINlR28QtE=; b=G5q6oa7IQZyz4wsHDo1CLP e2dNGMJgwH9FxwuhbntYyGA6Xy3hgrNlFbMBILrgOne52CsRH5x34BaWoQ9ePkSt KvelONkp23dsyv6EjHgGcINbvcgIFRvXanR7Ednrp1lMEADNd+l4no3/VjRG6gDG X25VozOjZAyelnKZIzakZsmgoVinoPCVlOtbq9b3Re2sK/V5gr7qzAubKrTIXB64 +umLkbOXta0okbDVpQ7VsAX5fGzceZ3Or88WXw2MuAWL2tWh4bQ1Jqz/0Jbi2mBq 8caFPMxeGpD9nbS60jfM6KQAtUUrcOjM2xhu0/CLJ7D4QSiY7qkJqwJ0zXID5uVA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrleejgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtsehttdertd dtredtnecuhfhrohhmpeffohhughcuffgrvhhishcuoeguuggrvhhishesuggurghvihhs rdhioheqnecuggftrfgrthhtvghrnhepgedtveffudeitdelveevkeeitedtleehgeduge eludfhheejffekjeffgeffleejnecukfhppedvgedrleekrdejiedrkedtnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggurghvihhsseguug grvhhishdrihho X-ME-Proxy: Original-Received: from localhost (c-24-98-76-80.hsd1.ga.comcast.net [24.98.76.80]) by mail.messagingengine.com (Postfix) with ESMTPA id A7E751080054 for <45679@debbugs.gnu.org>; Sun, 28 Feb 2021 19:47:32 -0500 (EST) In-Reply-To: (Doug Davis's message of "Wed, 13 Jan 2021 12:44:37 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:201043 Archived-At: Its seems that the issue pops up when a function signature includes the trailing return type int: #+begin_src python def func(a, b) -> None: x = 5 y = 6 #+end_src has bad assignment font locking for "x = 5"; while this version: #+begin_src def func(a, b): x = 5 y = 6 #+end_src appears to have expected variable assignment font locking.