Gentoo Archives: gentoo-portage-dev

From: Sid Spry <sid@××××.us>
To: Ulrich Mueller <ulm@g.o>
Cc: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] Use env to find python
Date: Mon, 15 Jun 2020 13:40:31
Message-Id: c409612e-3371-4c6c-82dd-43d4b0d387e9@www.fastmail.com
In Reply to: Re: [gentoo-portage-dev] [PATCH] Use env to find python by Ulrich Mueller
1 On Mon, Jun 15, 2020, at 2:36 AM, Ulrich Mueller wrote:
2 > But we know that it is in /usr/bin, so why add yet another indirection?
3 >
4 > Attachments:
5 > * signature.asc
6
7 Ah, sorry -- I forgot to note this here. If you wish to support prefix it is possible it may not be in /usr/bin. Granted I am not sure if the prefix stage3 I was using is old enough to be broken in some way, but adding this would prevent future breakage.
8
9 I understand your concern but are these really in a hot path? Whatever the scripts are doing will beat the time it takes to invoke env by orders of magnitude. I can run benchmarks if you'd like, would the tests serve as such?

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] Use env to find python Mike Gilbert <floppym@g.o>