Re: gnulib-tool.py: Fix an undefined function name.

2024-05-07 Thread Bruno Haible
Hi Collin, > > Hmm. Is that refactoring, that you are imagining, intrusive? ... > > Depends on the specific warning being addressed. :) > > There are more trivial cases like GLMakeFileTable which stores > information as a dictionary. We have a table of makefile variables: > > table: list[d

Re: gnulib-tool.py: Fix an undefined function name.

2024-05-04 Thread Collin Funk
On 5/4/24 8:17 AM, Bruno Haible wrote: >> For CI, I am thinking it is best to ignore the typing warnings for the >> time being. Since gnulib-tool.py needs a bit more refactoring for that >> to be helpful. It was written before typing was a thing. :) > > Hmm. Is that refactoring, that you are imagi

Re: gnulib-tool.py: Fix an undefined function name.

2024-05-04 Thread Bruno Haible
Collin Funk wrote: > For CI, I am thinking it is best to ignore the typing warnings for the > time being. Since gnulib-tool.py needs a bit more refactoring for that > to be helpful. It was written before typing was a thing. :) Hmm. Is that refactoring, that you are imagining, intrusive? If it's in

Re: gnulib-tool.py: Fix an undefined function name.

2024-05-04 Thread Collin Funk
cd14774d92e19c Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sat, 4 May 2024 05:17:45 -0700 Subject: [PATCH] Fix ChangeLog entry for previous commit. --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 96b29b7fc4..6b56b35d8e 100644 --- a/Ch

Re: gnulib-tool.py: Fix an undefined function name.

2024-05-04 Thread Bruno Haible
Hi Collin, > > Can you please add, to the first line of the ChangeLog entry, a note > > that tells us when the regression was introduced? Such as > >(regression 2024-xx-xy) > > or > >(regr. yesterday) > ... > I've never modified a ChangeLog entry before. Is the proper way to > just modify

Re: gnulib-tool.py: Fix an undefined function name.

2024-05-03 Thread Collin Funk
On 5/3/24 6:03 PM, Bruno Haible wrote: >> In main.py a call to mkdtemp() was the use of the 'tempfile' module >> prefix. > > Oh, that would have led to a runtime error, right? Yes, it would only be seen if it entered the section of code where modules have an incompatible license. So the program w

Re: gnulib-tool.py: Fix an undefined function name.

2024-05-03 Thread Bruno Haible
Hi Collin, > In main.py a call to mkdtemp() was the use of the 'tempfile' module > prefix. Oh, that would have led to a runtime error, right? Can you please add, to the first line of the ChangeLog entry, a note that tells us when the regression was introduced? Such as (regression 2024-xx-xy)

gnulib-tool.py: Fix an undefined function name.

2024-05-03 Thread Collin Funk
or to that. Just in case of that, I put back the 'glpy' prefix. CollinFrom b86d31ade5e8284df1efe339890b674eedf89bcd Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Fri, 3 May 2024 17:26:18 -0700 Subject: [PATCH] gnulib-tool.py: Fix an undefined function name.