unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cherrypicking fixed for new python syntax into the emacs 25 branch
@ 2016-04-21 18:41 Nathaniel Smith
  2016-04-21 19:47 ` John Wiegley
  0 siblings, 1 reply; 2+ messages in thread
From: Nathaniel Smith @ 2016-04-21 18:41 UTC (permalink / raw)
  To: emacs-devel

[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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-21 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 18:41 Cherrypicking fixed for new python syntax into the emacs 25 branch Nathaniel Smith
2016-04-21 19:47 ` John Wiegley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).