bug-gnulib
[Top][All Lists]
Advanced

[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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]