[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool.py: follow gnulib-tool changes
From: |
Dmitry Selyutin |
Subject: |
Re: gnulib-tool.py: follow gnulib-tool changes |
Date: |
Sat, 9 Sep 2017 19:04:13 +0300 |
> Well, the logic that binary files (*.mo, *.class) should be copied as-is,
> not transformed, should be kept, no? You'll replace the implementation
> of the transform?
The binary files shall not be touched, but text files shall not be processed
with sed. That's what I mean; the patch is OK, but the code around is flawed.
> If you replace 'sed' here, you save a subprocess
> invocation, though.
Exactly; I think one of the strongest motivations to perform the whole rewrite
in Python is the fact that the original gnulib-tool spawns processes too often.
Moreover, process invocation is quite a dumb technique when you have built-in
language features instead.
Re: gnulib-tool.py: follow gnulib-tool changes, Bruno Haible, 2017/09/09