From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
To: linux-gpio@vger.kernel.org, Vincent Fazio <vfazio@gmail.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
brgl@kernel.org
Subject: Re: [libgpiod][PATCH v2] bindings: python: allow releasing a LineRequest multiple times
Date: Tue, 7 Apr 2026 14:53:11 +0200 [thread overview]
Message-ID: <177556638700.273757.2923801356427376697.b4-ty@oss.qualcomm.com> (raw)
In-Reply-To: <20260403154629.3944942-1-vfazio@gmail.com>
On Fri, 03 Apr 2026 10:46:29 -0500, Vincent Fazio wrote:
> In Python, it is common for objects to allow their `close` method to be
> executed multiple times out of convenience. An example of this is the
> `IOBase` class [0] which is the base class of most file-like classes.
>
> Update `LineRequest.release` to follow this example as it performs the
> same function as `close`.
>
> [...]
Applied, thanks!
[1/1] bindings: python: allow releasing a LineRequest multiple times
https://git.kernel.org/brgl/c/bfffd6506ca11b409db7e478b6186256dfeb4d41
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
prev parent reply other threads:[~2026-04-07 12:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-03 15:46 [libgpiod][PATCH v2] bindings: python: allow releasing a LineRequest multiple times Vincent Fazio
2026-04-07 12:53 ` Bartosz Golaszewski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177556638700.273757.2923801356427376697.b4-ty@oss.qualcomm.com \
--to=bartosz.golaszewski@oss.qualcomm.com \
--cc=brgl@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=vfazio@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).