From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathaniel Smith Newsgroups: gmane.emacs.devel Subject: Cherrypicking fixed for new python syntax into the emacs 25 branch Date: Thu, 21 Apr 2016 11:41:04 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1461267320 2205 80.91.229.3 (21 Apr 2016 19:35:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Apr 2016 19:35:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 21 21:35:06 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1atKNV-0002uD-5a for ged-emacs-devel@m.gmane.org; Thu, 21 Apr 2016 21:35:05 +0200 Original-Received: from localhost ([::1]:46850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atKNU-0005ZC-E1 for ged-emacs-devel@m.gmane.org; Thu, 21 Apr 2016 15:35:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atJXN-0007ix-Jw for emacs-devel@gnu.org; Thu, 21 Apr 2016 14:41:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atJXK-0006Bd-D4 for emacs-devel@gnu.org; Thu, 21 Apr 2016 14:41:13 -0400 Original-Received: from pb-smtp2.pobox.com ([64.147.108.71]:63284 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atJXK-0006BY-75 for emacs-devel@gnu.org; Thu, 21 Apr 2016 14:41:10 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 9466F14B5F for ; Thu, 21 Apr 2016 14:41:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :date:message-id:subject:from:to:content-type; s=sasl; bh=THPogH oiS78FVBM+Q/lsx3Jegsk=; b=GkxOd0cz8vOT6kPG2fWB6L5DQObh0+96ig5ivg nainS7uRISTA/7LOBmtG6qF9UXNX+lqAmF4gA5f0YLQAjE19T3eq5s/Bqv/y5hVo 8dHyOTSB81fHaPBDldTyv1fAotEHpOHQtLFHBSOPi/SndSdtQqTDCB54TrlQ8WgE RLlSg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=mime-version :date:message-id:subject:from:to:content-type; q=dns; s=sasl; b= c4sIkJjkI+xQIbjJr1JeqP1CVABHho2QaqWOk5E6vtgVQCVj26wvjNBoHC1QfBq2 ol/aa4BG24F3NkLIo62a3p1C4h4wjNt149csV7X2qGL4ACBysMNey2utAl51KorM H/ooYqeigl3RMHqol2YxFgcKn+tAiqJf/QKzVi2+Sd8= Original-Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 8CA1914B5C for ; Thu, 21 Apr 2016 14:41:05 -0400 (EDT) Original-Received: from mail-yw0-f181.google.com (unknown [209.85.161.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 151AB14B5B for ; Thu, 21 Apr 2016 14:41:05 -0400 (EDT) Original-Received: by mail-yw0-f181.google.com with SMTP id j74so87011384ywg.1 for ; Thu, 21 Apr 2016 11:41:05 -0700 (PDT) X-Gm-Message-State: AOPr4FVIkX2Y9oD/cjJ1jBJHbCsRgp0oxJRbntgHBUFHt9JuLZrv7aGVjBpVuZD70jMVgmN9UQDhbgYUqAZcWQ== X-Received: by 10.129.95.2 with SMTP id t2mr10688670ywb.301.1461264064630; Thu, 21 Apr 2016 11:41:04 -0700 (PDT) Original-Received: by 10.129.132.209 with HTTP; Thu, 21 Apr 2016 11:41:04 -0700 (PDT) X-Gmail-Original-Message-ID: X-Pobox-Relay-ID: 9ABCE7AE-07F0-11E6-BC45-D05A70183E34-09433513!pb-smtp2.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.108.71 X-Mailman-Approved-At: Thu, 21 Apr 2016 15:34:50 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203152 Archived-At: [not subscribed to list, would appreciate CC's on followups] Hi all, Currently, the version of python.el in the emacs 25 branch doesn't support the new async/await syntax added in python 3.5. This added new syntax for basic syntactic constructs like function definitions and for loops, and so currently in the emacs 25 branch anyone using these new features loses basic features like autoindentation, e.g. async def f(): async for x in ...: are not considered to open blocks and require manual indentation. And even worse, since the indentation tables are defined as compile-time macros, it isn't even possible to fix this with a .emacs tweak. This has already been fixed in emacs mainline. Would it be possible for the emacs 25 branch maintainers to cherry-pick these two changes into emacs 25?: 1f6b0bc1 928f5194 (some more discussion here: https://github.com/jorgenschaefer/elpy/issues/848) Thanks! -n -- Nathaniel J. Smith -- https://vorpus.org