public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org, Florian Schmaus <flo@geekplace.eu>
Subject: Re: [gentoo-portage-dev] [PATCH 1/2] Make atomic_ofstream a Context Manager
Date: Wed, 30 Dec 2020 18:21:32 -0800	[thread overview]
Message-ID: <a8c1a6a9-55df-f7a8-1192-ed4488f5c114@gentoo.org> (raw)
In-Reply-To: <20201218184639.361607-1-flo@geekplace.eu>


[-- Attachment #1.1: Type: text/plain, Size: 524 bytes --]

On 12/18/20 10:46 AM, Florian Schmaus wrote:
> This allows using a "with statement" together with instances of
> atomic_ofstream. Allowing for more readable, less error prone and
> shorter code.
> 
> Signed-off-by: Florian Schmaus <flo@geekplace.eu>

Thanks, this is much better! Merged both patches:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=e93e6d65fa1ca75f676a227f7918f8b6d747425c
https://gitweb.gentoo.org/proj/portage.git/commit/?id=1574ae127b270739c4293271c959d1d981684906
-- 
Thanks,
Zac


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

      parent reply	other threads:[~2020-12-31  2:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 18:46 [gentoo-portage-dev] [PATCH 1/2] Make atomic_ofstream a Context Manager Florian Schmaus
2020-12-18 18:46 ` [gentoo-portage-dev] [PATCH 2/2] env_update: use "with statement" on atomic_ofstream Florian Schmaus
2020-12-31  2:21 ` Zac Medico [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=a8c1a6a9-55df-f7a8-1192-ed4488f5c114@gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=flo@geekplace.eu \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /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