[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Refactoring rewrite_filename functions
From: |
Bruno Haible |
Subject: |
Re: Refactoring rewrite_filename functions |
Date: |
Wed, 17 Apr 2024 16:03:59 +0200 |
Hi Collin,
> This will require some code reordering first though. The
> GLFileAssistant used by GLImport is not defined until
> GLImport.execute(). The file name transformations are done in
> GLImport.prepare().
Good point.
> I think the correct solution there is to define the GLFileAssistant in
> GLImport.__init__() with it's default arguments and then set them
> later.
Hmm, this sounds clumsy.
Can't you order things in such a way that
1. GLConfig is created.
2. The configuration is elaborated and stored in GLConfig.
3. GLConfig is finished.
4. GLFileAssistant is initialized.
?
Bruno
- gnulib-tool.py: Remove a redundant function., Collin Funk, 2024/04/14
- Re: gnulib-tool.py: Remove a redundant function., Collin Funk, 2024/04/14
- Re: gnulib-tool.py: Remove a redundant function., Bruno Haible, 2024/04/15
- Re: gnulib-tool.py: Remove a redundant function., Collin Funk, 2024/04/15
- Re: gnulib-tool.py: Remove a redundant function., Bruno Haible, 2024/04/16
- Re: gnulib-tool.py: Remove a redundant function., Collin Funk, 2024/04/16
- Refactoring rewrite_filename functions, Collin Funk, 2024/04/16
- Re: Refactoring rewrite_filename functions, Bruno Haible, 2024/04/16
- Re: Refactoring rewrite_filename functions, Collin Funk, 2024/04/16
- Re: Refactoring rewrite_filename functions,
Bruno Haible <=
Re: gnulib-tool.py: Remove a redundant function., Bruno Haible, 2024/04/15