GNU bug report logs - #59968
[PATCH] Add "->" to python--treesit-operators

Previous Next

Package: emacs;

Reported by: Daniel Martín <mardani29 <at> yahoo.es>

Date: Sun, 11 Dec 2022 16:38:02 UTC

Severity: wishlist

Tags: patch

Done: Yuan Fu <casouri <at> gmail.com>

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 59968 in the body.
You can then email your comments to 59968 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#59968; Package emacs. (Sun, 11 Dec 2022 16:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Martín <mardani29 <at> yahoo.es>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 11 Dec 2022 16:38:02 GMT) Full text and rfc822 format available.

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

From: Daniel Martín <mardani29 <at> yahoo.es>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add "->" to python--treesit-operators
Date: Sun, 11 Dec 2022 17:37:20 +0100
[Message part 1 (text/plain, inline)]
Tags: patch


Python has a "->" operator to specify the return type of functions.
For example:

def add(a: int, b: int) -> int:
    return a + b

The following patch adds support for it in python-ts-mode.

[0001-Add-to-python-treesit-operators.patch (text/patch, attachment)]

Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 13 Dec 2022 00:48:02 GMT) Full text and rfc822 format available.

Reply sent to Yuan Fu <casouri <at> gmail.com>:
You have taken responsibility. (Wed, 14 Dec 2022 01:54:03 GMT) Full text and rfc822 format available.

Notification sent to Daniel Martín <mardani29 <at> yahoo.es>:
bug acknowledged by developer. (Wed, 14 Dec 2022 01:54:03 GMT) Full text and rfc822 format available.

Message #12 received at 59968-done <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: 59968-done <at> debbugs.gnu.org
Subject: Re: bug#59968: [PATCH] Add "->" to python--treesit-operators
Date: Tue, 13 Dec 2022 17:53:50 -0800
Daniel Martín <mardani29 <at> yahoo.es> writes:

> Tags: patch
>
>
> Python has a "->" operator to specify the return type of functions.
> For example:
>
> def add(a: int, b: int) -> int:
>     return a + b
>
> The following patch adds support for it in python-ts-mode.

Applied, thanks!

Yuan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 11 Jan 2023 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 241 days ago.

Previous Next


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