Re: gnulib-tool.py: Simplify use of GLModuleTable accessors.

2024-04-09 Thread Collin Funk
On 4/9/24 9:32 AM, Bruno Haible wrote: > Thanks, applied. Also I removed the outdated/silly comment here: > > self.avoids = set() # Avoids Haha, yes I guess it doesn't really explain much. It was small enough to not bother me so I left it. There is a few others like that in GLModuleTabl

Re: gnulib-tool.py: Simplify use of GLModuleTable accessors.

2024-04-09 Thread Bruno Haible
Collin Funk wrote: > Patch 0001 removes the unused functions. Patch 0002 turns avoidlist > into a set. Thanks, applied. Also I removed the outdated/silly comment here: self.avoids = set() # Avoids Bruno

Re: gnulib-tool.py: Simplify use of GLModuleTable accessors.

2024-04-09 Thread Collin Funk
Hi Bruno, On 4/9/24 5:48 AM, Bruno Haible wrote: > OK, fine with me: there are no accessors for inc_all_direct_tests and > inc_all_indirect_tests either. Patch 0001 removes the unused functions. Patch 0002 turns avoidlist into a set. CollinFrom eb0dcffdf06a59f2d71010ce2030ed2d583f6500 Mon Sep 17

Re: gnulib-tool.py: Simplify use of GLModuleTable accessors.

2024-04-09 Thread Bruno Haible
Hi Collin, > This patch removes the GLModuleTable.__getitem__ function and changes > the dictionary-like indexing of the GLModuleTable objects to normal > function calls. Makes sense: This dictionary-like indexing makes sense for GLConfig (for reading and parsing the gnulib-cache.m4 file, and for