On Mon, 01 Jun 2015 23:16:47 +0200
Alexander Berntsen berna...@gentoo.org wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 30/05/15 20:27, Mike Frysinger wrote:
to be clear: this is not new code. this is (more or less) a
straight port from bash to python. your feedback here
On 30 May 2015 12:30, Brian Dolbec wrote:
On Sat, 30 May 2015 14:27:25 -0400 Mike Frysinger wrote:
+def get_python_executable(ver):
+ Find the right python executable for |ver|
+ if ver == 'pypy':
+ prog = 'pypy'
+ else:
+ prog
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 30/05/15 20:27, Mike Frysinger wrote:
to be clear: this is not new code. this is (more or less) a
straight port from bash to python. your feedback here applies to
the bash version as well. i'd like to minimize the changes when
converting
On Sat, May 30, 2015 at 1:18 PM, Brian Dolbec dol...@gentoo.org wrote:
On Sat, 30 May 2015 12:29:14 -0400
Mike Frysinger vap...@gentoo.org wrote:
The bash was getting ugly, and this allows us to add more smarts
sanely to the main script.
---
DEVELOPING | 2 +-
runtests| 156
On 30 May 2015 14:42, Mike Gilbert wrote:
On Sat, May 30, 2015 at 1:18 PM, Brian Dolbec wrote:
On Sat, 30 May 2015 12:29:14 -0400 Mike Frysinger wrote:
+from __future__ import print_function
If I'm not mistaken, this is not needed for 2.7+ anymore. It is
still for 2.6 though.
You
The bash was getting ugly, and this allows us to add more smarts sanely
to the main script.
---
DEVELOPING | 2 +-
runtests| 156
runtests.sh | 109 --
3 files changed, 157 insertions(+),
On Sat, 30 May 2015 12:29:14 -0400
Mike Frysinger vap...@gentoo.org wrote:
The bash was getting ugly, and this allows us to add more smarts
sanely to the main script.
---
DEVELOPING | 2 +-
runtests| 156
runtests.sh | 109
On Sat, 30 May 2015 14:27:25 -0400
Mike Frysinger vap...@gentoo.org wrote:
+def get_python_executable(ver):
+ Find the right python executable for |ver|
+ if ver == 'pypy':
+ prog = 'pypy'
+ else:
+ prog = 'python' + ver
+ return os.path.join(EPREFIX, 'usr',