Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Florian Schmaus <flo@×××××××××.eu>
Subject: Re: [gentoo-portage-dev] [PATCH 1/2] Make atomic_ofstream a Context Manager
Date: Thu, 31 Dec 2020 02:21:37
Message-Id: a8c1a6a9-55df-f7a8-1192-ed4488f5c114@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 1/2] Make atomic_ofstream a Context Manager by Florian Schmaus
1 On 12/18/20 10:46 AM, Florian Schmaus wrote:
2 > This allows using a "with statement" together with instances of
3 > atomic_ofstream. Allowing for more readable, less error prone and
4 > shorter code.
5 >
6 > Signed-off-by: Florian Schmaus <flo@×××××××××.eu>
7
8 Thanks, this is much better! Merged both patches:
9
10 https://gitweb.gentoo.org/proj/portage.git/commit/?id=e93e6d65fa1ca75f676a227f7918f8b6d747425c
11 https://gitweb.gentoo.org/proj/portage.git/commit/?id=1574ae127b270739c4293271c959d1d981684906
12 --
13 Thanks,
14 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature