GNU bug report logs - #46817
update python grammar

Previous Next

Package: emacs;

Reported by: Martin Puttke <martinstefanputtke <at> posteo.de>

Date: Sat, 27 Feb 2021 18:10:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Martin Puttke <martinstefanputtke <at> posteo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: update python grammar
Date: Sat, 27 Feb 2021 19:04:53 +0100
[Message part 1 (text/plain, inline)]
Hi out there,

I made some fixes to enhance the python grammar file to enable it 
to understand python type hints and have non-trivial base classes. 
Please feel free to include my changes into emacs.

please find my patches attached.

All the best

Martin

[0001-add-python-grammar-for-type-hints-in-variable-defini.patch (text/x-diff, attachment)]
[0002-add-python-grammar-for-type-hints-for-function-retur.patch (text/x-diff, attachment)]
[0003-generalize-type-definition-and-apply-it-to-parent-cl.patch (text/x-diff, attachment)]
[Message part 5 (text/plain, inline)]
-- 
Composed with Spacemacs (www.spacemacs.org)

This bug report was last modified 4 years and 81 days ago.

Previous Next


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