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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46817 in the body.
You can then email your comments to 46817 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#46817; Package emacs. (Sat, 27 Feb 2021 18:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Puttke <martinstefanputtke <at> posteo.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 27 Feb 2021 18:10:02 GMT) Full text and rfc822 format available.

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)

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46817; Package emacs. (Mon, 01 Mar 2021 12:22:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Martin Puttke <martinstefanputtke <at> posteo.de>
Cc: 46817 <at> debbugs.gnu.org
Subject: Re: bug#46817: update python grammar
Date: Sun, 28 Feb 2021 15:22:59 +0100
Martin Puttke <martinstefanputtke <at> posteo.de> writes:

> 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.

Thanks; I'm not a Python or Wisent expert, but if I read the patch
correctly, it looks good to me, and I've applied your patch to Emacs 28.

This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 01 Mar 2021 12:22:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 46817 <at> debbugs.gnu.org and Martin Puttke <martinstefanputtke <at> posteo.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 01 Mar 2021 12:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46817; Package emacs. (Tue, 02 Mar 2021 18:28:01 GMT) Full text and rfc822 format available.

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

From: Martin Puttke <martinstefanputtke <at> posteo.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 46817 <at> debbugs.gnu.org
Subject: Re: bug#46817: update python grammar
Date: Tue, 02 Mar 2021 19:08:51 +0100
Hi Lars,

thank you for your offer to do the FSF paperwork. But at the 
moment I have no plans to submit another patch to emacs. It may 
come, but I prefer to do it when needed.

All the best
Martin

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

> Martin Puttke <martinstefanputtke <at> posteo.de> writes:
>
>> 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.
>
> Thanks; I'm not a Python or Wisent expert, but if I read the 
> patch
> correctly, it looks good to me, and I've applied your patch to 
> Emacs 28.
>
> This change was small enough to apply without assigning 
> copyright to the
> FSF, but for future patches you want to submit, it might make 
> sense to
> get the paperwork started now, so that subsequent patches can be 
> applied
> speedily. Would you be willing to sign such paperwork?


-- 
Composed with Spacemacs (www.spacemacs.org)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46817; Package emacs. (Wed, 03 Mar 2021 14:53:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Martin Puttke <martinstefanputtke <at> posteo.de>
Cc: 46817 <at> debbugs.gnu.org
Subject: Re: bug#46817: update python grammar
Date: Wed, 03 Mar 2021 15:52:18 +0100
Martin Puttke <martinstefanputtke <at> posteo.de> writes:

> thank you for your offer to do the FSF paperwork. But at the moment I
> have no plans to submit another patch to emacs. It may come, but I
> prefer to do it when needed.

Sure; that's fine.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 01 Apr 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 17 days ago.

Previous Next


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