[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnulib-tool.py: Store the module name instead of computing i
From: |
Bruno Haible |
Subject: |
Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it. |
Date: |
Tue, 26 Mar 2024 23:19:26 +0100 |
Hi Collin,
> The GLFileSystem.py file returns many tuples which is very much making
> me want to add type hints. It is easier to glance at and understand
> that way, in my opinion.
Feel free to do so. Either in GLFileSystem only, or globally - as you like.
> Right now GLFileSystem.lookup returns tuple[str, bool] where the
> string is the filename and bool is if the file is temporary or not.
>
> An idea that I have currently is changing it to tuple[str, str, bool],
> where the first string is the directory and the second is the module
> name. This should be suitable for passing to GLModule.__init__().
Sounds good.
Bruno
- [PATCH] gnulib-tool.py: Fix sorting of modules when --local-dir is used., Collin Funk, 2024/03/26
- [PATCH] gnulib-tool.py: Store the module name instead of computing it., Collin Funk, 2024/03/26
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Bruno Haible, 2024/03/26
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Collin Funk, 2024/03/26
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it.,
Bruno Haible <=
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Collin Funk, 2024/03/26
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Bruno Haible, 2024/03/26
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Collin Funk, 2024/03/26
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Bruno Haible, 2024/03/26
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Collin Funk, 2024/03/31
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Bruno Haible, 2024/03/31
- Re: [PATCH] gnulib-tool.py: Store the module name instead of computing it., Collin Funk, 2024/03/31